Question Detail

Structures can be used

  • to hold different datatypes
  • have pointers to structures
  • to assign to one another
  • all of above
Similar Questions :

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

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

  • integer
  • int
  • null
  • none 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. 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

5. UML meaning is

  • Unique modeling language
  • Unified modeling language
  • Unified modern language
  • Unified master laqnguage
Read more from - C Programming Questions Answers - Chapter 1