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

if a five digit number is input through the keyboard, write a program to calculate the sum of its digits. (hint:-use the modulus operator.'%')

23 Answers  


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

0 Answers   IBM,


enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }

4 Answers   ME,


how do you execute a c program in unix.

0 Answers  


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

0 Answers  






ASCII stands for

1 Answers  


How can I call a function, given its name as a string?

4 Answers   ABC Telecom,


What is dynamic memory allocation?

0 Answers  


What is the difference between struct and union in C?

1 Answers  


What does typeof return in c?

0 Answers  


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

0 Answers  


Write the Program to reverse a string using pointers.

0 Answers   InterGraph,


Categories