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


Please Help Members By Posting Answers For Below Questions

What is structure in c definition?

577


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

651


How is a structure member accessed?

587


What is meant by type specifiers?

663


What are keywords c?

604






Explain c preprocessor?

685


What are multidimensional arrays?

656


Explain how to reverse singly link list.

609


What is void main () in c?

738


What is the purpose of void in c?

622


Do you know the use of 'auto' keyword?

664


c program for searching a student details among 10 student details

1658


What is difference between array and structure in c?

583


How to Throw some light on the splay trees?

623


Ow can I insert or delete a line (or record) in the middle of a file?

579