M
Q. What will be the output of the following code snippet?
#include <stdio.h> struct School { int age, rollNo; }; void solve() { struct School sc; sc.age = 19; sc.rollNo = 82; 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. What will be the value of `a` after the following code is executed?
Q. In a passage of text individual words and punctuation marks are called
Q. Determine the priority of each operator (highest to lowest)?
Q. #include <stdio.h> int main() { int x[5] = { 10, 20, 30 }; printf("%d", x[-1]); return 0; }
Q. Choose a correct C Operator Priority.? Items in one group ( ) has same priority.
Q. Variables of type auto, static and extern are all stored in?
Q. What is the name of the main function of a C program?
Discusssion
Login to discuss.