Questions and Answers
Which function is used to read the input from the user in the provided code snippet?
scanf()
What is the purpose of the format specifier %2d in the scanf() function in the provided code snippet?
To indicate that each input should be at most 2 digits long and should be interpreted as an integer.
What will be the output of the provided code snippet if the input '12 34' is provided?
a=12 b=34