This C program prints the name "Ashish kumar" and states he is a "B.C.A. 1st semester student". It uses basic input/output functions like printf, clrscr, and getch to display the output without errors.
1 of 1
Download to read offline
More Related Content
Anmol
1. Program:
/*WAP to print your name*/
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("My name is Ashish kumar.");
printf("n I am B.C.A. 1st semester student.");
getch();
}
Output:
My name is Ashish kumar.
I am B.C.A. 1st semester student.