QUIZ 5

What is the output?

a. error
b. Takes two values and prints them
c. Takes two values and prints 2
d. Prints 2

Answer : c

scanf () takes value given by user and returns the no. of values input and assigned successfully.
Here, it inputs two values and prints 2

Leave a Reply

Your email address will not be published. Required fields are marked *