C Language Quiz (Set 6)

C Language (Set 6)

1 / 10

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

2 / 10

Which C library function is used to convert a string to a floating-point number?

3 / 10

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

4 / 10

Which C library function is used to convert an integer to a string?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

Which C library function is used to compare two memory blocks?

9 / 10

What is the result of the expression '5 << 2' in C?

10 / 10

What is the purpose of the 'const' keyword when used in a function prototype in C?

Your score is

The average score is 0%

0%