write a c program to store and print name,address,roll.no of
a student using structures?
Answer Posted / laxmi bose
#include<stdio.h>
#include<string.h>
#include<conio.h>
struct laxmi
{
int rollname;
char name;
char address;
}struct laxmi l;
void main()
{
scanf("%d%c%c",&rollname,name,address);
printf("%d%c%c",roolname,name,address);
}
| Is This Answer Correct ? | 54 Yes | 88 No |
Post New Answer View All Answers
Explain what’s a signal? Explain what do I use signals for?
all c language question
Does c have function or method?
List some applications of c programming language?
Can math operations be performed on a void pointer?
What are near, far and huge pointers?
What is the difference between class and object in c?
Is c compiled or interpreted?
What do header files do?
What is null pointer constant?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
How to set file pointer to beginning c?
What is wild pointer in c?
What is the purpose of the statement: strcat (S2, S1)?
What is fflush() function?