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 |
Explain how do you generate random numbers in c?
What are the types of data files?
What does s c mean on snapchat?
Program to simulate second clock
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
Is c dynamically typed?
Where static variables are stored in memory in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
5 Answers TCS, Vimukti Technologies,
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
a C prog to swap 2 no.s without using variables just an array?
what is the difference between strcpy() and memcpy() function?
What are volatile variables?