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 |
Explain what is #line used for?
In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT
what is the output of the following program? #include<stdio.h> void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }
Explain the difference between getch() and getche() in c?
Is an array parameter is always "by reference" ?
How many parameters should a function have?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
How many main () function we can have in a project?
What is a program flowchart and how does it help in writing a program?
suppose there are five integers write a program to find larger among them without using if- else
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is a structure in c language. how to initialise a structure in c?