Home / Programs / A program to print one line of text using C Programming Language
Programming Example

A program to print one line of text using C Programming Language

👁 5,706 Views
💻 Practical Program
📘 Step by Step Learning
A program to print one line of text using C Programming Language

Information & Algorithm

  • printf() and scanf() functions are inbuilt library functions in C programming language which are available in C library by default. This function is declared and related macros are defined in “stdio.h” which is a header file in C language.
  • We have to include “stdio.h” file as shown in below C program to make use of these printf() and scanf() library functions in C language.

Program Code

#include"stdio.h"
void main()
{
/* printing begins */
printf("I see, I remember \n");
/* printing ends */
}

Output

I see, I remember
Press any key to continue . . .

How to learn from this program

First read the algorithm, then study the program code line by line. After that, compare the code with the output and finally go through the explanation. This approach helps learners understand both the logic and the implementation properly.