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
what is the height of tree if leaf node is at level 3. please explain
What functions are in conio h?
What is c value paradox explain?
What is pass by reference in functions?
What are c preprocessors?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
How would you rename a function in C?
What is the modulus operator?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
How can I remove the trailing spaces from a string?
What is a dynamic array in c?
Explain what are bus errors, memory faults, and core dumps?
writ a program to compare using strcmp VIVA and viva with its output.
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
How can I find out the size of a file, prior to reading it in?