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 are identifiers in c?
Differentiate abs() function from fabs() function.
What are reserved words with a programming language?
How do you define a function?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
Explain how can I avoid the abort, retry, fail messages?
What is wrong with this code?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What are the different types of constants?
What is the difference between struct and union in C?
What is union and structure?
Explain what does a function declared as pascal do differently?
Write a program to reverse a given number in c?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
write a program to find out prime number using sieve case?