write a program in c language to print your bio-data on the
screen by using functions.
Answers were Sorted based on User's Feedback
Answer / shonali
#include<stdio.h>
void main()
{
char n[],fn[],add[],qu;
printf("Enter name of the student");
scanf("%s\n",&n);
printf("Father's Name");
scanf("%s\n",&fn);
printf("Address");
scanf("%s\n",&add);
printf("qualification");
scanf("%s\n",qu);
}
| Is This Answer Correct ? | 212 Yes | 114 No |
Answer / advait shastri
#include<stdio.h>
#include<conio.h>
void main()
{
char name[15],lname[15];
long contact;
char city[15];
clrscr();
printf("\nEnter your full name:");
scanf("%s %s",&name,&lname);
printf("\nEnter your contact:");
scanf("%ld",&contact);
printf("\nEnter your city:");
scanf("%s",&city);
printf("\nYour name:%s %s",name,lname);
printf("\nYour contact:%ld",contact);
printf("\nYour city:%s",city);
getch();
}
| Is This Answer Correct ? | 82 Yes | 49 No |
Answer / 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 |
Answer / ogaleye victor
#include<stdio.h>
void main()
char name address qualification age
printf("Ayomide Victor");
printf("32 anifowobi crescent Ikeja");
printf("B.sc computer science, ");
printf("19 years");
| Is This Answer Correct ? | 2 Yes | 7 No |
Answer / karan panwar
#include<stdio.h>
#include<conio.h>
void main()
{
clrser();
char n[],fn[],add[],qu;
printf("karan kumar panwar");
printf("prahlad panwar");
printf("h.no.38-b railway training centre near shukhadiya cracle");
printf("secondary & senior secondary passed");
getch();
}
| Is This Answer Correct ? | 21 Yes | 34 No |
What is difference between arrays and pointers?
Can you please explain the difference between syntax vs logical error?
write a program in C to swap two variables
What is 1d array in c?
Explain how do you print an address?
define function
What is the difference b/w Structure & Union?
If I want to initialize the array like. int a[5] = {0}; then it gives me all element 0. but if i give int a[5] = {5}; then 5 0 0 0 0 is ans. what will I do for all element 5 5 5 5 5 in a single statement???
what are the advantage and disadvantage of recursion
What is the difference between c &c++?
Why Modern OS are interrupt driven?Give an example
What is the difference between #include and #include 'file' ?