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
Explain how do you list a file’s date and time?
What is the advantage of an array over individual variables?
Can we compile a program without main() function?
Explain the concept and use of type void.
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
With the help of using classes, write a program to add two numbers.
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What does the error 'Null Pointer Assignment' mean and what causes this error?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
Describe the steps to insert data into a singly linked list.
Is linux written in c?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
Describe explain how arrays can be passed to a user defined function
What is this pointer in c plus plus?
What is a structure member in c?