info@avatto.com
+91-9920808017
0. 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?
It will print the binary representation of n and terminate
It will print the binary representation of n in the reverse order and terminate
It will print the binary representation of n but will not terminate
It will not print anything and will not terminate
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login