Home > B.Sc (CS) > Quizzes > C Programming Test
C Programming Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 19% Most missed: “Structure declaration _______.”
C Programming Test
Time left 00:00
25 Questions

1. The abs() function displays________.
2. The number of arguments used in malloc ( ) is_______.
3. The C was developed in the year___________.
4. The programs should be written only in________.
5. What is the value of 10%8?
6. Arrays cannot be initialized if they are________.
7. How many while statements are possible in do..while loop?
8. Loss in precision occurs for typecasting from____________.
9. ___________ refers to the accuracy of the calculations.
10. Recursion is a process in which a function calls _________.
11. The switch statement is used to________.
12. In the declaration double (*pf)( ); as _________.
13. Which is the correct statement for finding the cube of 2?
14. The C language is an offspring of _________.
15. The operators exclusively used in connection with pointers are________.
16. Identify the correct statement for given expression as________. Float fnum [10], *fptr = fnum
17. The operation that can be performed on pointers are______.
18. How many keywords are there in ANSI C?
19. The function name itself is_________.
20. Each case statement in switch () is separated by______.
21. The address of operator returns________.
22. A file opened in w+ mode can be________.
23. What is the result of 5&&2?
24. An unsigned integer variable contains values________.
25. What is the result of the expression (23*2) % (int) 5.5?