info@avatto.com
+91-9920808017
11. The following programvoid abc (int &p){cout << p ;}void main (void){float m = 1.23;abc (m) ;cout << m;}
results in compilation error
results in run time error
prints 1. 23
prints I
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
12. What is the output of the following c++ program?void abc (int x = 0, int y = 0){cout << "Hi There";}void abc (int x){cout << "How are you doing today ? " ;}void main (void)(int m = 5;abc (m) ;}
Hi There
How R U doing today?
What gets printed depends on how the particular compiler is implemented
It results in compilation error
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