download Mastguru Android App

Question Detail

Difference between structure and union is

  • We can define functions within structures but not within a union
  • We can define functions within union but not within a structure
  • The way memory is allocated
  • There is no difference
Similar Questions :

1. The compiler in C ignores all text till the end of line using

  • //
  • /
  • */
  • none of above

2. UML meaning is

  • Unique modeling language
  • Unified modeling language
  • Unified modern language
  • Unified master laqnguage

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

  • integer
  • int
  • null
  • none of above

4. What is prototype of a function in C

  • It is the return type of a function
  • It is the return data of the function
  • It is declaration of a function
  • It is a datatype

5. Exit() is same as return

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