What will be the output of the program If characters 'a', 'b' and 'c' enter are supplied
Fantastic news! We've Found the answer you've been seeking!
Question:
What will be the output of the program If characters 'a', 'b' and 'c' enter are supplied as input?
#includeint main(){ void fun(); fun(); printf(""); return 0;}void fun(){ char c; if((c = getchar())!= '') fun(); printf("%c", c);}abc abc
bca
Infinite loop
cba
Related Book For
Posted Date: