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 an lvalue?
Why is this loop always executing once?
what is recursion in C
What is the difference between volatile and const volatile?
Which type of language is c?
What is memory leak in c?
What is a file descriptor in c?
What is the purpose of scanf() and printf() functions?
Explain how do you use a pointer to a function?
how to construct a simulator keeping the logical boolean gates in c
What is meant by errors and debugging?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
What is main () in c?
Is malloc memset faster than calloc?
What are integer variable, floating-point variable and character variable?