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 ? | 209 Yes | 112 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 ? | 78 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 type of function is main ()?
write the program to find multiplication of 2-D matrix??????????
how to use enum datatype?Please explain me?
How to write c functions that modify head pointer of a linked list?
In header files whether functions are declared or defined?
Tell me with an example the self-referential structure?
What are the usage of pointer in c?
Is there a way to jump out of a function or functions?
What is function prototype in c with example?
How can I trap or ignore keyboard interrupts like control-c?
Multiply an Integer Number by 2 Without Using Multiplication Operator
What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2") } a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none