Engineering Online MCQ Number 0629 – online study, assignment and exam

Multiple choice question for engineering Set 1 1. What is the output of this C code? #include <stdio.h> union { int x; char y; }p; int main() { p.x = 10; printf(”%dn”, sizeof(p)); } a) Compile time error b) sizeof(int) + sizeof(char) c) Depends on the compiler d) sizeof(int) AnswerAnswer: d 2. What is the…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership