How do you print a string in C?

To print any string in C programming, use printf() function with format specifier %s as shown here in the following program. To scan or get any string from user, you can use either scanf() or gets() function.

Sizin İçin Seçtik  Is IntelliJ IDEA only for Java?

Leave a Reply

Your email address will not be published. Required fields are marked *