• 1. 
    Every C program has access to which of the following files?

  • stdin
  • stdout
  • stderr
  • all of above
  • 2. 
    How much memory is required to store a value of type double?

  • 4 bytes
  • 6 bytes
  • 8 bytes
  • 10 bytes
  • 3. 
    Which of the following is not a valid storage class?

  • static
  • extern
  • register
  • automatic
  • 4. 
    Which of the following is not a reserved word in C langauge?

  • for
  • doo
  • goto
  • switch
  • 5. 
    Who developed C languages?

  • Ken Thomson
  • Peter Norton
  • Von Neuman
  • Dennis Ritchie
  • 6. 
    Which of the following is not a storage class?

  • Auto
  • Static
  • Register
  • Extern
  • 7. 
    What is the length null string?

  • 0
  • 1
  • 2
  • 3
  • 8. 
    Which of the following functions can be used to increase the size of dynamically allocated array?

  • realloc()
  • calloc()
  • malloc()
  • memadjust()
  • 9. 
    A variable declared with ____ modifier caan retain its value during function calls.

  • const
  • extern
  • volatile
  • static
  • 10. 
    Pointers can be used to achieve

  • call by procedure
  • call by name
  • call by function
  • call by reference
  • 11. 
    A structure is

  • Scalar data type
  • Derived data type
  • Primitive data type
  • None of these
  • 12. 
    What is the default return type of a function?

  • void
  • int
  • char
  • float
Report Question
warning
access_time
  Time