in Education by
Q.32 :-What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile? #include #define SWAP(a, b, c)(ct; t=a, a=b, b=t) int maino { intx=10, y=20; SWAP(x, y, int); printf(“%d %d\n”, x, y); return 0; Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
120 answer come sayd Explanation: hopefully u satisfy with this answer

Related questions

0 votes
    15. #include #define foo(m, n) m + n int main() { int a = foo(5,13); printf(“%d”, a); Select the correct answer from above options...
asked Dec 30, 2021 in Education by JackTerrance
0 votes
    What is the output of the below program? #include int main() { printf("%u",sizeof(NULL)); return 0; }...
asked Jan 23, 2021 in Technology by JackTerrance
0 votes
    int fun(int n) { if(n!=0) { return n – fun(n-5); } else { return n; } } int main(){ int n = 20, z; z = fun(n); printf(“%d”, z); } Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    - What will be the output of the following C code? #include int main() { int i = 97, *p=&i; foo( ... (D) Segmentation fault/code crash Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    int x =20, y = 10, z; What is the value of z in z = ++x * (y – –) – y ? Show the steps. Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    Eight persons A, B, C, D, N, X, Y and Z live in an eight story building, one on each floor but not ... floor numbers of A and N? Select the correct answer from above options...
asked Dec 20, 2021 in Education by JackTerrance
0 votes
    write a program to evaluate the arithmetic statement. X=A-B+C*(D*E-F)/G+H*K a) Using a general ... zero -address operation instruction. Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    If in a binomial distribution `n=4, P(X=0)=(16)/(81), t h e n P(X=4)` equals `1/(16)` b. `1/(81)` c. `1/( ... . `(1)/(27)` D. `(1)/(8)` Select the correct answer from above options...
asked Nov 16, 2021 in Education by JackTerrance
0 votes
    e)What will be the output of the following code? (2) x,y=4,8 z=x/y*y print(z) Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    In Java, what will be the output of the following code and how? double x=2.9,y=2.5; (SOP is abbreviated form ... x),y)); Explain how Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
...