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 does double pointer mean in c?
Explain how can type-insensitive macros be created?
Define Spanning-Tree Protocol (STP)
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
What are categories used for in c?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
Explain what is the difference between the expression '++a' and 'a++'?
What is the use of function in c?
Was 2000 a leap year?
Is c object oriented?
When is a void pointer used?
What is the benefit of using const for declaring constants?
What are pointers? What are stacks and queues?
What are the loops in c?