Question
What is the output of the following C code? int a = 12, b = 10; printf("%d", a & b | a ^
What is the output of the following C code? int a = 12, b = 10; printf("%d", a & b | a ^
b);
More C Programming Questions
- Which of the following statements is correct for Python lists?
- What is the output of the following C++ program using virtual functions?
- Consider the following C code: int a[]={10,20,30,40}; int *p=a; What is the value of *(p+2)?
- What is the output of the following C code? int x=5, y=0; if (x>0 || y++) { } printf("%d", y);
- In C, what will be the output of the following code? int a = 5; printf("%d", a++);
- What is the output of the following C code? int arr[3][4] = {{1,2,3,4},{5,6,7,8},{9,10,11,12}}; printf("%d", *(*(arr+1)+2));
- In Java, which data type is used to store true or false values?
- What is the output of the following C code? int x = 5; int y = x++ + ++x; printf("%d %d", x, y);
- What is the output of the following C code? int x=0, y=10; if (x || y--) { } printf("%d", y);
- In C++, which access specifier allows members to be accessible only within the class?
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)