0 0 votes Consider the following program segment int main ( ) { char ∗ str = “GATECS”; printf (“%d”, madeeasy (str)); return 0; } int madeeasy (int ∗ p1) { int ∗ p2 = p1; while (∗++p1); return (p1 – p2); } The output of the above program will be ______. Assume that the object of data type int occupies 2 bytes. Is this question right because according to me types are not same when we pass argument inside madeeasy? Programming in C data-structures made-easy-test-series programming-in-c pointers + – Shantnu Gupta 1.1k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
2 2 votes 6 should be ans .... Anup dogrial answered Jan 7, 2020 Anup dogrial comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes 12 is the answer? Deepalitrapti answered Jul 3, 2019 Deepalitrapti comment Share Follow 0 reply Please log in or register to add a comment.