Answer Posted / ashish
A structure is a collection of variables under a single name.
These variables can be of different types, and each has a name
which is used to select it from the structure. A structure is
a convenient way of grouping several pieces of related
information together.
A structure can be defined as a new named type, thus extending
the number of available types. It can use other structures,
arrays or pointers as some of its members, though this can get
complicated unless you are careful.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is bubble sort technique in c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Tell us something about keyword 'auto'.
What is pointers in c?
Why do we use int main?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What are the characteristics of arrays in c?
How will you find a duplicate number in a array without negating the nos ?
What is wrong with this program statement? void = 10;
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
What is the difference between if else and switchstatement
Explain how do you view the path?
Wt are the Buses in C Language
Explain threaded binary trees?
What is the usage of the pointer in c?