C Language Quiz (Set 3)

C Language (Set 3)

1 / 10

What is the purpose of the 'const' keyword in C?

2 / 10

Which C function is used to open an existing file for reading?

3 / 10

What is the purpose of the 'union' in C?

4 / 10

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

5 / 10

What is the purpose of the 'static' keyword when used with a variable in C?

6 / 10

In C, what is the purpose of the 'typedef' keyword?

7 / 10

What does the 'fwrite' function do in C?

8 / 10

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

9 / 10

What is the result of the expression '7 / 2' in C?

10 / 10

What is the purpose of the 'NULL' pointer in C?

Your score is

The average score is 0%

0%