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
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
How is actual parameter different from the formal parameter?
Is it acceptable to declare/define a variable in a c header?
Describe static function with its usage?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What is the difference between int main and void main?
Explain what is the most efficient way to store flag values?
What does void main return?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
Explain the properties of union.
What is conio h in c?
Explain what is the benefit of using #define to declare a constant?
How can variables be characterized?
What is FIFO?