0
Please can someone tell me that how can I get output in c language with scanf
3 Answers
+ 4
You can literally Google it ,use sololearn for any doubt you have after doing the above
+ 1
int x;
printf("Enter a number > ");
scanf("%d",&x);
printf("\nYou entered %d\n",x);
0
Just to be certain there is no confusion, scanf only does input. Use printf to send output to the console.