Simple string ouput : Main « Language Basics « C / ANSI-C






Simple string ouput


#include <stdio.h>

int main(void)
{
  printf("hello");
  /* printf("there"); */

  return 0;
}

           
       








Related examples in the same category

1.Display Hello: output String
2.Display Hello and your name
3.main function
4.A for loop inside main functionA for loop inside main function
5.Const function in all c programs: main() function
6.Program starts with main function