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 is the advantage of a random access file?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What are the 5 types of inheritance in c ++?
What is meant by realloc()?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is a stream water?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What is cohesion and coupling in c?
Was 2000 a leap year?
p*=(++q)++*--p when p=q=1 while(q<=6)