Fundamental C Test2

40 Questions | Attempts: 839
Please wait...
Question 1 / 41
🏆 Rank #--
Score 0/100

1. Every C Program Statement must be terminated with a

Submit
Please wait...
About This Quiz
C Programming Quizzes & Trivia

This test is to rate your fundamental C concepts

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. The process of removing a bug is known as

Submit

3. ++I is a ----------------------operator.

Submit

4. C language has been developed by

Submit

5. The symbol for right shift operator is

Submit

6. Format specifier for the string is

Submit

7. X=9-12/3+3*2-1, what is the value of x

Submit

8. The equality relational operator is represent by

Submit

9. Size of (double) returns———

Submit

10. The conditional operators “ ? :” is similar to

Submit

11. What could be output of the following function main( ) {int x=2,y=6,z=6; x=y=z; printf(“%d”,x); }

Submit

12. Which of the following is a valid numeric constant

Submit

13. The keyword is used to define a new data type.

Submit

14. The purpose of the following fragment B=S+B S=B-S; B=B-S; Where S,B are two integers is to

Submit

15. Which of the following is allowed in a C arithmetic statement

Submit

16. How would you declare a constant of 5 called “MYCONST”?

Submit

17. Which of the following is the assignment operator in C

Submit

18. ‘void’ means

Submit

19. What is output of following Program? main( ) {int x=10,y=5,p,q ; p= x> 9 ; q= x > 3 && y != 3 ; printf( “p=%d q=%d ” ,p,q) ; }

Submit

20. What function is appropriate for accepting a string?

Submit

21. In the following which one is not a C keyword?

Submit

22. What is the range of unsigned char data type

Submit

23. Main( ) { int a=0; if(a) printf(“%d”,++a); else printf(“%d”, a+=2) ; } the output is

Submit

24. What type of errors are checked during compilation

Submit

25. Pick the operators that associates from right to left

Submit

26. C variable cannot start with

Submit

27. What symbol is used to represent input/output operations in a flow chart.

Submit

28. What is range of char data value?

Submit

29. The function -------------------echoes the character typed on the screen

Submit

30. How many while statements are possible in do.... While loop?

Submit

31. Which of the following cannot be used as an identifier.

Submit

32. Which of the following shows the correct hierarchy of arithmetic operations in C

Submit

33. Which of the following is not a key word of C?

Submit

34. Switch(ch) {case ‘a’: printf(“a”); case ‘b’: printf(“b”); default: printf(“error”); } if ch is assigned to the character ‘a’ then the output will be

Submit

35. What is the result of 5 &&2 ?

Submit

36. The output of the following program is main( ) {int i=2; printf(“%d %d %d”,i++,i,++i); }

Submit

37.  Which function returns single character

Submit

38. In switch (expression) statement, the expression should evaluate to

Submit

39. Main( ) { float a; int x = 6; y = 4; a = x/y; print (“%f”,a) }what is the output

Submit

40. Among the following operators, whose associatively is right to left

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (40)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Every C Program Statement must be terminated with a
The process of removing a bug is known as
++I is a ----------------------operator.
C language has been developed by
The symbol for right shift operator is
Format specifier for the string is
X=9-12/3+3*2-1, what is the value of x
The equality relational operator is represent by
Size of (double) returns———
The conditional operators “ ? :” is similar to
What could be output of the following function ...
Which of the following is a valid numeric constant
The keyword is used to define a new data type.
The purpose of the following fragment ...
Which of the following is allowed in a C arithmetic statement
How would you declare a constant of 5 called “MYCONST”?
Which of the following is the assignment operator in C
‘void’ means
What is output of following Program? ...
What function is appropriate for accepting a string?
In the following which one is not a C keyword?
What is the range of unsigned char data type
Main( ) ...
What type of errors are checked during compilation
Pick the operators that associates from right to left
C variable cannot start with
What symbol is used to represent input/output operations in a flow...
What is range of char data value?
The function -------------------echoes the character typed on the...
How many while statements are possible in do.... While loop?
Which of the following cannot be used as an identifier.
Which of the following shows the correct hierarchy of arithmetic...
Which of the following is not a key word of C?
Switch(ch) ...
What is the result of 5 &&2 ?
The output of the following program is ...
 Which function returns single character
In switch (expression) statement, the expression should evaluate to
Main( ) ...
Among the following operators, whose associatively is right to left
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!