Computer Science, asked by bhai26, 1 year ago

b/w the difference of printf &sprintf in c language

Answers

Answered by nancy60
1
printf function is used to print the characters, string, float, etc on the output screen.

scanf is used to read character, string, etc from keyboard.




Sprint f is used to store the data formate as a string and their syntax is sprintf (char * string, const char * form.. )

bhai26: brother sprintf asked
nancy60: I am a girl
bhai26: ohh sorry but i ask diff. printf &sprintf
nancy60: ok
nancy60: I explain you Sprint f
bhai26: t u
nancy60: t u means
bhai26: thank you
nancy60: ohh
Similar questions