Answers

Question and Answer:

  Home  C Programming

⟩ How do we print only part of a string in C?

/* Use printf() to print the first 11 characters of source_str. */

printf(First 11 characters: ‘%11.11s’n, source_str);

 178 views

More Questions for you: