Company: Qualcomm

Difficulty: easy

Problem Statement

What will be the output of the program given below? #include <stdio.h> int main() { int a = 4; if ( a ^ a && (a ^ a) || a) printf("%d", a); return 0; }

More Qualcomm OA questionsInterview experiences