what is structuer?

Answers were Sorted based on User's Feedback



what is structuer?..

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

what is structuer?..

Answer / supercool

For dealing with different types of data(e.g. int, float, char,etc.)at a time, C provides a data type called ‘structure’. A structure gathers together, different atoms of information that comprise a given entity.

Is This Answer Correct ?    0 Yes 0 No

what is structuer?..

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

what is structuer?..

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

Post New Answer

More C Interview Questions

how can f be used for both float and double arguments in printf? Are not they different types?

1 Answers  


Explain how can I read and write comma-delimited text?

1 Answers  


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

1 Answers  


Program to find largest of three numbers without using comparsion operator?

3 Answers  


Are the variables argc and argv are local to main?

1 Answers   TISL,


Which one would you prefer - a macro or a function?

1 Answers  


what is the code to display color fonts in the output?

1 Answers  


Explain how do you determine whether to use a stream function or a low-level function?

1 Answers  


What are static functions?

1 Answers  


Write a C program that reads a series of strings and prints only those ending in "ed"

2 Answers   Accenture,


pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?

2 Answers   eClerx, Excel, kenexa,


main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }

4 Answers   Vector, Vector India,


Categories