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
How is actual parameter different from the formal parameter?
What are categories used for in c?
Can a void pointer point to a function?
Do pointers store the address of value or the actual value of a variable?
What are the different data types in C?
What does static variable mean in c?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
int far *near * p; means
Is c compiled or interpreted?
What is c language in simple words?
Can we assign string to char pointer?
What is the difference between null pointer and wild pointer?
What are the standard predefined macros?
What are the three constants used in c?