download Mastguru Android App

Question Detail

A member is a

  • Variable in a structure
  • Datatype of structure
  • Structure pointer
  • None of above
Similar Questions :

1. If (*p) and **p is same

  • No
  • Yes

2. What is true about fputs function

  • write to a file
  • takes two parameters
  • requires a file pointer
  • all of above

3. Disadvantage of array in C is

  • We can easily access each element
  • It is necessary to declare too many variables
  • It can store only one similar type of data
  • None of above

4. 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

5. We can insert pre written code in a C program by using

  • #read
  • #get
  • #include
  • #put
Read more from - C Programming Questions Answers - Chapter 1
Post a comment