what is structuer?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / mayur dharmik
1. Structure is USER DATA TYPE,
2. It is the collection of Similar OR Dissimilar data type
of element to create new data type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / dharmaraj
A STRUCTURE IS "ALL THE DATAS TO SAVING IN ONE UNIT "AND
CALLED IN SINGLE NAME.
the structur is used in use "struct" keyword.
[e.g]
struct struct_name()
{
-----
-----
}
| Is This Answer Correct ? | 0 Yes | 1 No |
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
What are predefined functions in c?
hat is a pointer?
What is variables in c?
What is 1d array in c?
Explain bit masking in c?
Is main() function predfined or userdefined?
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?
What should malloc() do?
How can a program be made to print the line number where an error occurs?
Write code for initializing one dimentional and two dimentional array in a C Program?
5 Answers Deshaw, Edutech, GMD,
What are the different types of errors?