Print String in C Program

C program to print the string the output. The printf function returns the value of the argument it was supplied. Then, if it’s saved in a character array, we’ll see how to print it. The characters in the element will be printed in the output.

#include <stdio.h>
int main()
char a[1000] = "Welcome to";
printf("%s", a);
return 0;



Welcome to