C Language Quiz (Set 19)

C Language (Set 9)

1 / 10

What is the purpose of the 'offsetof' macro in C?

2 / 10

Which C library function is used to convert a long integer to a string in a specific base?

3 / 10

What is the purpose of the 'putchar' function in C?

4 / 10

Which C library function is used to write a formatted output to a string?

5 / 10

What is the purpose of the 'goto' statement in C?

6 / 10

In C, what is the purpose of the 'wint_t' data type?

7 / 10

What is the purpose of the 'volatile' keyword when used in a structure member declaration in C?

8 / 10

Which C library function is used to perform dynamic memory allocation?

9 / 10

What is the result of the expression '10 % 3' in C?

10 / 10

What is the purpose of the 'volatile' keyword when used in a function definition in C?

Your score is

The average score is 0%

0%