Please enter your email:
1. What will be the Output?
#include <stdio.h> int main() { int n = 123; printf(“%d”, n / 10); return 0; }
2. What will be the output?
#include <stdio.h> int main() { printf(“%d”); return 0; }
3. What will be the Output?
#include <stdio.h> int main() { int a = 2, b = 5; a = a + b; b = a – b; a = a – b; printf(“%d %d”, a, b); return 0; }
4. What will be the output?
#include <stdio.h> int main() { int a; printf(“%d”, a); return 0; }
5. What will be the Output?
#include <stdio.h> int main() { int a = 3, b = 7, temp; temp = a; a = b; b = temp; printf(“%d %d”, a, b); return 0; }
6. What will be the Output?
#include <stdio.h> int main() { int x = 5, y = 7; int sum = x + y; printf(“%d”, sum); return 0; }
7. What will be the Output?
#include <stdio.h> int main() { int n = 123; printf(“%d”, n % 10); return 0; }
8. What will be the Output?
#include <stdio.h> int main() { int a, b, c; a = b = c = 10; printf(“%d %d %d”, a, b, c); return 0; }
9. What will be the Output?
#include <stdio.h> int main() { int a = 5, b = 10; a = b; b = a; printf(“%d %d”, a, b); return 0; }
10. What will be the output?
#include <stdio.h> int a; int main() { printf(“%d”, a); return 0; }
Question 1 of 10
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.