in Education by
– What will be the output of the following C code? #include int main() { int i = 97, *p=&i; foo(&p); printf(“%d “, *p); return 0; } void foo(int **p) { int j = 2; *p=&j; (A) 22 (B) 297 (C) Undefined behaviour (D) Segmentation fault/code crash Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Answer: dxufxigcgkxgxuf if zkgxjg yrvifxigsruY Explanation: please let me know if you are not the intended recipient you are not there because this video is not available for remote playback not allowed the Earth rotate the tires and wheels of an turning effect of

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
    Q.32 :-What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile? ... y); return 0; Select the correct answer from above options...
asked Nov 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
    How many times the following loop will execute? And, what will be the output of this loop? int m=3; for (; m...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
0 votes
    What will be the output produced by following code statements? State reason(s). i. (17%5) == (17%5.0) ii. (87 // 5 ... int((87 / 5.0)) Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    What will be the output produced by following code statements? State reason(s). i. (17%5) == (17%5.0) ii. (87 // 5 ... int((87 / 5.0)) Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    Choose the final value of c from the following code, when, int a=12, b=13, c=0; c=a+++++a/7+b++; * Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    What is the output of the following program? 3 . #include using namespace std; struct Time { int hours; int ... 20000 D. O 15000 Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    What is the output of the following program? 3 . #include using namespace std; struct Time { int hours; int ... 20000 D. O 15000 Select the correct answer from above options...
asked Dec 26, 2021 in Education by JackTerrance
0 votes
    Write the output for the following i) char c = ‘A’ ; int m = 26 ; int n = c + m ; System.out.println(“ n = “ +n) ; Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Write the output for the following i) char c = ‘A’ ; int m = 26 ; int n = c + m ; System.out.println(“ n = “ +n) ; Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    If P=1, Q=0 ,R=1 then what will be the output of following expression (P+Q)’+(P’+Q’)R’+(Q’+R’) Select the correct answer from above options...
asked Dec 11, 2021 in Education by JackTerrance
0 votes
    /determining static void sortint al) { int x = a.length; int m.p: for(int i=0; i...
asked Dec 25, 2021 in Education by JackTerrance
...