GATEverse
← GATE CSE 2015 Set 2

Q15

MCQ1 mark, −0.33

Consider the following function written in the C programming langauge : void foo(char *a) { if (*a && *a != ' ') { foo(a+1); putchar(*a); } } The output of the above function on input "ABCD EFGHABCD \ EFGH" is

Sign in to save attempts.

Loading…