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  What happens when Cro runs out?

Leave a Reply

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