0

Please can someone tell me that how can I get output in c language with scanf

6th Nov 2020, 10:57 AM
Krishna Varshney
Krishna Varshney - avatar
3 Answers
+ 4
You can literally Google it ,use sololearn for any doubt you have after doing the above
6th Nov 2020, 11:04 AM
Abhay
Abhay - avatar
+ 1
int x; printf("Enter a number > "); scanf("%d",&x); printf("\nYou entered %d\n",x);
6th Nov 2020, 11:02 AM
Slick
Slick - avatar
0
Just to be certain there is no confusion, scanf only does input. Use printf to send output to the console.
6th Nov 2020, 4:11 PM
Brian
Brian - avatar