write a program in c language to print your bio-data on the
screen by using functions.
Answer Posted / 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 |
Post New Answer View All Answers
What does void main () mean?
What are different types of pointers?
Explain what math functions are available for integers? For floating point?
What is the heap?
What are qualifiers?
What is I ++ in c programming?
Why do we write return 0 in c?
in iso what are the common technological language?
Where are c variables stored in memory?
What is the size of empty structure in c?
Explain what are preprocessor directives?
How many header files are in c?
Explain spaghetti programming?
What are the primitive data types in c?
Which is better between malloc and calloc?