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 the difference between pure virtual function and virtual function?
using only #include
Why doesnt that code work?
What are header files and explain what are its uses in c programming?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
When should the const modifier be used?
What is variable initialization and why is it important?
What do you mean by keywords in c?
What is typedef?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What are the types of macro formats?
What the advantages of using Unions?
What is string function in c?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above