Question: How do you print only part of a string?

Question: How do you print only part of a string?

Question: How do you print only part of a string?

Answer: /* Use printf () to print the first 11 characters of source_str. */
printf (“First 11 characters: ‘%11.11s’n”, source_str);

Keywords:
print part of a string in python
print string in c
print string till character in python
how to print a sentence in c
print char in c
program to print name in c
string prit
printf print string

No comments: