download Mastguru Android App

Question Detail

A variable in c

  • must have a valid datatype
  • can't have a name same as keyword
  • must have a name starting with a character
  • All of above
Similar Questions :

1. Exit() is same as return

  • TRUE
  • FALSE

2. Difference between calloc() and malloc()

  • calloc() takes a single argument while malloc() needs two arguments
  • malloc() takes a single argument while calloc() needs two arguments
  • malloc() initializes the allocated memory to ZERO
  • calloc() initializes the allocated memory to NULL

3. Can getch() be used to echo the input

  • Yes
  • No

4. A member is a

  • Variable in a structure
  • Datatype of structure
  • Structure pointer
  • None of above

5. calloc() belongs to which library

  • stdlib.h
  • malloc.h
  • calloc.h
  • None of above
Read more from - C Programming Questions Answers - Chapter 1
Post a comment