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 are categories used for in c?
Define circular linked list.
Hai what is the different types of versions and their differences
to find the closest pair
Explain how can I manipulate strings of multibyte characters?
Why c is called a mid level programming language?
How we can insert comments in a c program?
What are the 5 data types?
Why dont c comments nest?
What is static function in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is the size of a union variable?
Why structure is used in c?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?