Question
What will the following C code print? int a[5] = {10,20,30,40,50}; int *p = a; p += 2; printf("%d %d", *p, *(p-1)+*(p+1));
More C Programming Questions
- What is the output of the following C code? int a = 12, b = 10; printf("%d %d", a & b, a ^ b);
- What will be printed by the following C code ? int x = 13, y = 6; printf("%d", (x & y) + (x | y) - (x ^ y));
- Which of the following is the primary benefit of Big Data analytics in decision-making?
- What is the output of the following C code? #include int main() { int i; for (i = 0; i < 3; i++) { printf("%d ", i); } p...
- Consider the C structure: struct A { char c; int i; }; On a typical system where int requires 4-byte alignment, what is the most likely total size of struc...
- What is a key difference between the malloc() and calloc() functions in C?
- Which network device operates at the Data Link Layer of the OSI model and helps to filter and forward data between LAN segments?
- What is printed if we execute the following C code? int a=5; int *p=&a; (*p)++; printf("%d",a);
- What is the output of the following C code? int a = 12, b = 10; printf("%d", a & b | a ^ b);
- What is the output of the following C code?
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)