C - Structure and Union Questions and Answers

Practice Mode
Showing 10 of 51 questions
Q51
What is the size of ptr1 and ptr2? struct x { int j; charr k [100]; unsigned i; }; int *ptr1: struct x *ptr2;
  • A same depending on the model used
  • B 2, 104
  • C 2, undefined for memory is not allocated
  • D 2, 4
Answer: Option A
Questions and Answers for Competitive Exams Various Entrance Test