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 |
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.'%')
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
how do you execute a c program in unix.
Explain how do you determine whether to use a stream function or a low-level function?
ASCII stands for
How can I call a function, given its name as a string?
What is dynamic memory allocation?
What is the difference between struct and union in C?
What does typeof return in c?
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.
Write the Program to reverse a string using pointers.