A
Q. What will be the output of the following code snippet?
Code:
#include <stdio.h>
int main() {
int a = 3, b = 5;
int t = a;
a = b;
b = t;
printf("%d %d", a, b);
return 0;
}
int main() {
int a = 3, b = 5;
int t = a;
a = b;
b = t;
printf("%d %d", a, b);
return 0;
}
- Correct Answer - Option(D)
- Views: 25
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.