C Programming Questions Answers - Chapter 1

  • 29. What is true about fputs function

    1. write to a file
    2. takes two parameters
    3. requires a file pointer
    4. all of above
    Answer :

    Option D

  • 30. Exit() is same as return

    1. TRUE
    2. FALSE
    Answer :

    Option B

  • 31. Which of the following below is/are valid C keywords

    1. integer
    2. int
    3. null
    4. none of above
    Answer :

    Option B

  • 32. The compiler in C ignores all text till the end of line using

    1. //
    2. /
    3. */
    4. none of above
    Answer :

    Option A

  • 33. What among following is true about stack

    1. stack cannot reuse its memory
    2. all elements are of different datatypes
    3. all operation done at one end
    4. none of above
    Answer :

    Option C

  • 34. If include files can be nested

    1. Yes
    2. No
    Answer :

    Option A

  • 35. Size of void pointer is

    1. 1 byte
    2. 2 byte
    3. 4 byte
    4. 8 byte
    Answer :

    Option B

Please Like Us