C Language Quizs

In this C Language Quiz section - every Question Carry 2 Marks. If any question is wrong then two marks will be deducted.

Note : Fill the Information Correctly to get Certified.

C Language Quizs

1 / 50

What does "printf" stand for in C language?

2 / 50

Which of the following is not a valid C data type?

3 / 50

What is the size of the "int" data type in C on a 32-bit system?

4 / 50

What is the correct syntax for declaring a pointer in C?

5 / 50

What is the purpose of the "sizeof" operator in C?

6 / 50

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

7 / 50

In C, what is the function of the "break" statement?

8 / 50

What is the purpose of the "continue" statement in C?

9 / 50

Which header file is required for using dynamic memory allocation functions in C?

10 / 50

What is the purpose of the "strcpy" function in C?

11 / 50

Which of the following is a bitwise AND operator in C?

12 / 50

What is the output of the following code snippet?

Question

13 / 50

Which function is used to close a file in C?

14 / 50

What is the purpose of the "typedef" keyword in C?

15 / 50

What is the default return type of a function in C if not specified?

16 / 50

Which of the following is a valid way to comment multiple lines in C?

17 / 50

In C, what is the purpose of the "strcmp" function?

18 / 50

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

19 / 50

Which function is used to read a character from the standard input in C?

20 / 50

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

21 / 50

What is the significance of the "volatile" keyword in C?

22 / 50

Which of the following is an invalid identifier in C?

23 / 50

What is the purpose of the "fwrite" function in C?

24 / 50

What does the "static" keyword do in C for a variable?

25 / 50

In C, what is the purpose of the "rand" function?

26 / 50

What is the output of the following code snippet?

C Quiz img 2

27 / 50

Which header file is required for file input and output operations in C?

28 / 50

What is the purpose of the "void" keyword in a function declaration in C?

29 / 50

Which operator is used for dynamic memory allocation in C?

30 / 50

In C, what is the purpose of the "const" keyword?

31 / 50

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

32 / 50

Which of the following is a bitwise OR operator in C?

33 / 50

What is the output of the following code snippet?

34 / 50

What is the purpose of the "malloc" function in C?

35 / 50

In C, what is the purpose of the "goto" statement?

36 / 50

What is the output of the following code snippet?

37 / 50

Which function is used to open a file in C?

38 / 50

What is the purpose of the "sizeof" operator ?

39 / 50

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

40 / 50

What is the purpose of the "strcat" function in C?

41 / 50

Which of the following is a logical NOT operator in C?

42 / 50

What is the output of the following code snippet?

43 / 50

In C, what is the purpose of the "feof" function?

44 / 50

What is the purpose of the "strupr" function in C?

45 / 50

Which of the following is a bitwise XOR operator in C?

46 / 50

What is the output of the following code snippet?

47 / 50

In C, what is the purpose of the "assert" function?

48 / 50

What is the purpose of the "strncpy" function in C?

49 / 50

Which of the following is a valid way to declare a constant in C?

50 / 50

What is the purpose of the "isalpha" function in C?

Your score is

The average score is 69%

0%

10 thoughts on “C Language Quizs”

  1. I gave the quiz 2 times, 1st one with 75% and 2nd one with 92%. It has already been 3 days and I have not received the certificate on my email

  2. I got 92% . Thank you for keeping this quiz by this way I got to know how much I got to know in C language

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top