Online Programming Server

Login

Login with facebook [?]

Facebook

Tutorial 74: Chapter 2 - Formatted I/O

You are here: Tutorials >> Basic >> C >> C Programming Basics >> Chapter 2 - Formatted I/O

Tutorial ID74
TitleChapter 2 - Formatted I/O

Printing to screen

—
  • Before we get into the topic, let's look at the "Hello, world" program once again.
#include <stdio.h>
int main()
{
    printf("Hello, world!");
    return 0;
}
  • —The underlined “printf” statement prints the line "Hello, world!" to the screen.

Post Your Comment

Title
Message