C Programming Questions Answers - Chapter 1
-
29. What is true about fputs function
- write to a file
- takes two parameters
- requires a file pointer
- all of above
Answer :
Option D
-
30. Exit() is same as return
- TRUE
- FALSE
Answer :
Option B
-
31. Which of the following below is/are valid C keywords
- integer
- int
- null
- none of above
Answer :
Option B
-
32. The compiler in C ignores all text till the end of line using
- //
- /
- */
- none of above
Answer :
Option A
-
33. What among following is true about stack
- stack cannot reuse its memory
- all elements are of different datatypes
- all operation done at one end
- none of above
Answer :
Option C
-
34. If include files can be nested
- Yes
- No
Answer :
Option A
-
35. Size of void pointer is
- 1 byte
- 2 byte
- 4 byte
- 8 byte
Answer :
Option B