write a c program too print ur name, class, rollnum&age name this program a my profileC
Answers
Answered by
0
Answer:
#include<stdio.h>
#include<conio.h>
void main()
{
char *a[80],*b[80];
int c,d;
printf(" ENTER THE NAME,CLASS,ROLL NO AND AGE RESPECTIVELY\n");
scanf("%s\n%s\n%d\n%d",&a,&b,&c,&d);
printf(" THE NAME,CLASS,ROLL NO AND AGE RESPECTIVELY ARE =\n%s\n%s\n%d\n%d",a,b,c,d);
getch();
}
Similar questions