M
Q. What will be the output of the following code snippet?
#include <stdio.h> union School { int age, rollNo; double marks; }; void solve() { union School sc; sc.age = 19; sc.rollNo = 82; sc.marks = 19.04; printf("%d", (int)sizeof(sc)); } int main() { solve(); return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which gcc flag is used to enable all Compiler warnings?
Q. What will be the output of the following code snippet?
Q. What is the output of C Program with functions.?
Q. An entire array is always passed by ___ to a called function.
Q. What is the output of C program?
Q. What is the output of C Program with Strings?
Q. When the condition of if statement is false, the flow of code will ___.
Q. Which of the following codes creates an array of 5 integers?
Q. What are the data type of variables that can be returned by a C Function.?
Discusssion
Login to discuss.