Find out the error in the below statement.

: 703
Paper : C Programming FAQ (Frequently Asked Questions and answers) for freshers | Platform : Procedural Programming Languages | Category : Programming FAQs

scanf(“%d”,i)

In the above statement, we are taking the input from the user. An ampersand is placed before i variable. The correct syntax of taking an input is:

scanf(“%d”, &i);

Suggested Papers: