write a program in c language to print your bio-data on the
screen by using functions.
Answer Posted / jeyasuriya m
#include<stdio.h>
int main()
{
char name[20],fathername[20],qualification[20];
int age,dob;
printf("Student name :");
scanf("%s",&name);
printf("Father name :");
scanf("%s",&fathername);
printf("Qualification :");
scanf("%s",&qualification);
printf("Age :");
scanf("%d",&age);
printf("Date Of Birth :");
scanf("%d",&dob);
printf("Student name :%s
",name);
printf("Father name :%s
",fathername);
printf("Qualification :%s
",qualification);
printf("Age :%d
",age);
printf("Date Of Birth :%d
",dob);
}
Is This Answer Correct ? | 39 Yes | 20 No |
Post New Answer View All Answers
What is structure in c definition?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
How is a structure member accessed?
What is meant by type specifiers?
What are keywords c?
Explain c preprocessor?
What are multidimensional arrays?
Explain how to reverse singly link list.
What is void main () in c?
What is the purpose of void in c?
Do you know the use of 'auto' keyword?
c program for searching a student details among 10 student details
What is difference between array and structure in c?
How to Throw some light on the splay trees?
Ow can I insert or delete a line (or record) in the middle of a file?