Modification for 'C program while using it in TURBO C++
#include <stdio.h>
--> #include <conio.h>
void main()
{
--> clrscr(); // Use this statement below variables decleration
printf("Hello world\n");
--> getch();
}
----------------------------------------------------------------------------------------------------
conio.h : console input and output
clrscr(): to clear screen, every time you run your program
getch(): to halt the screen to view your output, and as soon as you enter any char. your program terminates
#include <stdio.h>
--> #include <conio.h>
void main()
{
--> clrscr(); // Use this statement below variables decleration
printf("Hello world\n");
--> getch();
}
----------------------------------------------------------------------------------------------------
conio.h : console input and output
clrscr(): to clear screen, every time you run your program
getch(): to halt the screen to view your output, and as soon as you enter any char. your program terminates