Hello World Program in C



1. helloworld_Program1.c

//C hello world example
#include <stdio.h>
 
int main()
{
  printf("Hello world\n");
  return 0;
}


2. helloworld_Program2.c

#include <stdio.h>
 
int main()
{
  char string[] = "Hello World";
 
  printf("%s\n", string);
 
  return 0;
}

Output-




0 comments:

Post a Comment

My Instagram