What would be printed on the standard output as a result of the
following code snippet?
#define func(t, a, b) { t temp; temp=a; a=b; b=temp; }
main()
{
int a=3, b=4;
float c=4.5, d = 5.99;
func(int, a, b);
func(float, c, d);
printf("%d %d ", a, b);
printf("%.2f %.2f\n", c, d);
}
Correct Answer: 4 3 5.99 4.50
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C Programming MCQ Questions