Welcome Program in C

Welcome Program in C

Code Written in Dev C++;

#include<stdio.h>

#include<conio.h>

int main()

{

printf("\n Welcome to TECH TRACT ASSIST \n");

return 0;

}


Code Written in Turbo C++ :-

#include<stdio.h>

#include<conio.h>

void main()

{

        clrscr();

        printf("\n Welcome to TECH TRACT ASSIST \n");

        getch();

}


About above uses statement and functions:-

return 0 :- This statement returns the value to the compiler that the program code has no error.

clrscr() :- This function is used to clear the screen.

printf() :- This function is used to print the message or values.

getch() :- This function is a character input function. It holds the cursor for input a character.

Post a Comment

0 Comments