Company: Qualcomm

Difficulty: easy

Problem Statement

What will be the output of the program given below? #include <stdio.h> int main() { int x = 5, *p; p = &x; printf("%d", ++*p); return 0; }

More Qualcomm OA questionsInterview experiences