Question
What is the output of the following C code? int a = 12, b = 10; printf("%d %d", a & b, a ^
What is the output of the following C code? int a = 12, b = 10; printf("%d %d", a & b, a ^
b);
More C Programming Questions
- What is the output of the following C code? int x=0, y=10; if (x || y--) { } printf("%d", y);
- In Java, which keyword is used to prevent a class from being inherited?
- 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 the output of the following C code? int a = 12, b = 10; printf("%d %d", a & b, a ^ b);
- What is the output of the following C++ code? #include using namespace std; int main() { int x = 5; int &ref = x; ref = 10; int ...
- What is the output of the following C code? int x = 5, y = 2; printf("%d", x++ / y + x % y);
- Which of the following is a valid C++ constructor?
- What is the output of the following C code? int arr[3][3] = {{1,2,3},{4,5,6},{7,8,9}}; printf("%d", *(*(arr+2)+1));
- Which of the following is true about Java interfaces?
- What will be printed by the following C code ? int x = 13, y = 6; printf("%d", (x & y) + (x | y) - (x ^ y));
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)