Computer Science, asked by naziasyed7809, 1 year ago

In C program ‘&’ is used in ‘scanf’ to indicate

Answers

Answered by husain73
0

The format specifier %d is used in scanf() statement. So that, the value entered is received as an integer and %s for string. Ampersand is used before variable name “ch” in scanf() statement as &ch. It is just like in a pointer which is used to point to the variable.

Similar questions