Question: #define minl (x, y) ( (x < y) ? x : y) #define min 10 #include int min2(int x, int y) { if (x <
#define minl (x, y) ( (x < y) ? x : y) #define min 10 #includeint min2(int x, int y) { if (x < y) return x; else return y; } main() { int a, b; scanf("%d %d", &a, &b); if (b < min) printf("input out of range "); else { a = minl(a, b++); printf("a = %d, b %d ", a, b); a = min2(a, b++); printf("a = %d, b %d ", a, b); } } ------------------------- 1 Give the exact C code of the statement "a = min1(a, b + + ) ; " after macro processing. 2. Give the exact C code of the statement "a = min2 (a, b++) ; "after macro processing. 3 Give the exact C code of the statement "if ( b < min) " after macro processing. 4 Assume 60 and -30 are entered as inputs. What is the exact output of the program? 5 Assume 50 and 30 are entered as inputs. What is the exact output of the program?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
