C Programming Questions Answers - Chapter 1
-
23. 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
Answer And Explanation
Answer: Option C
-
24. What among following is true about stack
- stack cannot reuse its memory
- all elements are of different datatypes
- all operation done at one end
- none of above
Answer And Explanation
Answer: Option C
-
25. To access the members of structure which symbol is used
- *
- -
- ,
- .
Answer And Explanation
Answer: Option D
-
26. A member is a
- Variable in a structure
- Datatype of structure
- Structure pointer
- None of above
Answer And Explanation
Answer: Option A
-
27. Structures can be used
- to hold different datatypes
- have pointers to structures
- to assign to one another
- all of above
Answer And Explanation
Answer: Option D
-
28. UML meaning is
- Unique modeling language
- Unified modeling language
- Unified modern language
- Unified master laqnguage
Answer And Explanation
Answer: Option B