C program to print the string the output

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 inlarn.com";
printf("%s", a);
return 0;
}

Output:

Welcome to inlarn.com