Question 17
· unclassifiedP · Verified PYQ
Problem
What is the output of the following code when inputChar = ‘y’ #include <stdio.h> int main() { Char inputChar; printf(“%d”,scanf(“%c”,&inputChar)); return 0; } Answer: 1
What is the output of the following code when inputChar = ‘y’ #include <stdio.h> int main() { Char inputChar; printf(“%d”,scanf(“%c”,&inputChar)); return 0; } Answer: 1
Local Storage Only
Your progress is saved securely in your browser. No account needed. (If you clear data or switch devices, progress resets).