Question Detail

To access the members of structure which symbol is used

  • *
  • -
  • ,
  • .
Similar Questions :

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

2. What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf(\"%d\",x);
}

  • error
  • 0
  • 10
  • Garbage value

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

  • integer
  • int
  • null
  • none of above

4. Due to variable scope in c

  • Variables created in a function cannot be used another function
  • Variables created in a function can be used in another function
  • Variables created in a function can only be used in the main function
  • None of above

5. Exit() is same as return

  • TRUE
  • FALSE
Read more from - C Programming Questions Answers - Chapter 1