Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

C Program GATE 2019-2

C Program : GATE 2019

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?