what is difference between array and structure?
Answer Posted / rkv charan
Array:
1.static memory allocation.
2.array size is fixed.
3.array can't have bit fields.
structure:
1.Dynamic memory allocation.
2.structure size is changed dynamically.
3.structure can contain bit fields.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All 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.
How do you define a function?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
how to create duplicate link list using C???
What does *p++ do? What does it point to?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Why do we use return in c?
Place the #include statement must be written in the program?
Define the scope of static variables.
What is time complexity c?
int far *near * p; means
What is the maximum no. of arguments that can be given in a command line in C.?
When should I declare a function?
Tell me when would you use a pointer to a function?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?