Question
On a typical 64-bit system (int = 4 bytes, double = 8 bytes), what is printed by the following C code? union u { int i; char c[6]; double d; }; printf("%zu", sizeof(union
On a typical 64-bit system (int = 4 bytes, double = 8 bytes), what is printed by the following C code? union u { int i; char c[6]; double d; }; printf("%zu", sizeof(union
u));
More C Programming Questions
- In Python, which of the following is immutable?
- Which Java keyword is used to inherit a class?
- What is the output of the following C++ program?
- Which of the following statements is correct for Python lists?
- Which of the following is true about C++ destructors?
- In C, which keyword is used to define a constant value?
- Which tree traversal is most suitable for finding the shortest path in an unweighted graph represented as a tree?
- What is the output of the following recursive C function call?
- What will the following C code print? int arr[3][3] = {{1,2,3},{4,5,6},{7,8,9}}; printf("%d", arr[1][2] + arr[2][0]);
- What is the output of the following C code? void func(int n) { if (n == 0) return; printf("%d ", n); func(n-1); printf("%d ", n); } ...
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)