SCANF FUNCTION IN C PROGRAM EXAMPLE DEMO

40 views · Published 14 December 2015 · 1:44 · Indexed 8 November 2026

Channel: Interview DOT · 2015 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. SCANF FUNCTION IN  C PROGRAM EXAMPLE DEMO
The scanf() function is used to take input from user. 
In the below program, the user is asked an input and value is stored in variable c.
Note the '&' sign before c. &c denotes the address of c and value is stored in that address.

SCANF FUNCTION IN  C PROGRAM EXAMPLE DEMO

More from this channel