Sponsor

How to program in C++... #1 - Setup and Hello World (C ++でプログラミングする方法)

C hello world program: c programming language code to print hello world. This program prints hello world, printf library function is used to display text on screen, '\n' places cursor on the beginning of next line, stdio.h header file contains declaration of printf function. The code will work on all operating systems may be its Linux, Mac or any other and compilers. To learn a programming language you must start writing programs in it and may be your first c code while learning programming.
Hello world in C language
//C hello world example
#include <stdio.h>

int main()
{
  printf("Hello world\n");
  return 0;
}

Purpose of Hello world program may be to say hello to people or the users of your software or application.
 
Share on Google Plus

About Unknown

We bring you the latest breaking news that are happening around the world. For daily news, celebrity gossips, scoops, scandals, sports news, crime news and many more, don't forget us to visit ... www.satyaaawaz.com.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment