Answers for "use of %s in c"

C
2

%.*s in c

example:
printf("%.*s",3,"hello");

output:hel
here 3 represents the length of the string to be printed in the "hello string".
Posted by: Guest on May-11-2020

Code answers related to "C"

Browse Popular Code Answers by Language