C Language Quiz (Set 5)

C Language (Set 5)

1 / 10

What is the purpose of the 'ptrdiff_t' data type in C?

2 / 10

Which C library function is used to search for a character in a string?

3 / 10

What is the purpose of the 'size_t' data type in C?

4 / 10

Which operator is used to access a structure member in C?

5 / 10

What is the purpose of the 'enum' data type in C?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

What is the difference between 'int' and 'unsigned int' data types in C?

10 / 10

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

Your score is

The average score is 0%

0%