C print string code example
Example 1: how to print in c
printf("");
Example 2: print in c
printf("Hello World");
Example 3: c print statement
printf("hello");
Example 4: how to create a string in c
char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};
char greeting[] = "Hello";
Example 5: c how to print
printf("Hello World");
printf("your text here");
Example 6: printing out 2 strings in c
#include<stdio.h>
int main(){
char name[100];
int age;
printf("Enter your name\n");
gets(name);
printf("your name is %s", name);
}