C Language Quiz (Set 2)

C Language (Set 2)

1 / 10

In C, which header file should be included to work with file input and output functions?

2 / 10

Which operator is used to access the value pointed to by a pointer in C?

3 / 10

What is the output of the following C code?\n\n```c\n#include <stdio.h>\nint main() {\n int x = 5;\n printf(\"%d\ x++);\n return 0;\n}```

4 / 10

Which data type is used to store a single character in C?

5 / 10

What is the purpose of the 'continue' statement in a loop?

6 / 10

Which C function is used to compare two strings?

7 / 10

What is the purpose of the 'do-while' loop in C?

8 / 10

Which operator is used to access the memory address of a variable in C?

9 / 10

What is the purpose of the 'break' statement in a loop?

10 / 10

What is the correct syntax to define a macro in C?

Your score is

The average score is 0%

0%