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.
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.