Please wait...
THANKU FOR BEING A PART OF OUR JOURNEY TO BRING "REVOLUTION IN EDUCATION"
We Genuinely APPRECIATE your PATIENCE

36
M: +2.00/-0.66

Consider the following C function.

void convert(int n){

if(n<0)

printf(“%d”,n);

else {

convert(n/2);

printf(“%d”,n%2);

}

}

Which one of the following will happen when the function convert is called with any positive integer n as argument?

[GATE CS 2019]
A
B
C
D