Let suppose Union intorDouble{ Int ival; Double charvar; }; main(){intorDouble VAZ; int size ; size = sizeof(VAZ); } What will be the value of variable “size”, if int occupies 4 bytes and double occupies 8 bytes?

🎲 Try a Random Question  |  Total Questions in Quiz: 252  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Introduction To Programming Practice Test Questions — practice the complete quiz, review flashcards, or try a random question.


Let suppose Union intorDouble{ Int ival; Double charvar; }; main(){intorDouble VAZ; int size ; size = sizeof(VAZ); } What will be the value of variable “size”, if int occupies 4 bytes and double occupies 8 bytes?






ADVERTISEMENT