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 |
Explain how do you declare an array that will hold more than 64kb of data?
how to do in place reversal of a linked list(singly or doubly)?
what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }
Which header file should you include if you are to develop a function which can accept variable number of arguments?
study the code: #include<stdio.h> void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above
What is infinite loop?
what is the structure?
What is meant by type casting?
Explain about the constants which help in debugging?
What is a memory leak in structures? How can we rectify that?
Can we change the value of #define in c?
What is the purpose of main( ) in c language?