Answers for "print number in c without printf"

C
0

printf n characters c

// Only 5 characters printed. When using %.*s, add a value before your string variable to specify the length.
printf("Here are the first 5 characters: %.*s\n", 5, mystr); //5 here refers to # of characters
Posted by: Guest on June-19-2020

Code answers related to "C"

Browse Popular Code Answers by Language