what is difference between array and structure?
Answer Posted / rajkumars
Array:Static memory allocation.
It uses the subscript to access the array elements.
Structure:Dynamic memory allocation.
It uses the dot(.)operator to access the structure
members.
Is This Answer Correct ? | 460 Yes | 48 No |
Post New Answer View All Answers
Can we assign integer value to char in c?
Explain how do you view the path?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What are the two forms of #include directive?
What are the advantages of using macro in c language?
What is the g value paradox?
Are bit fields portable?
What are the main characteristics of c language describe the structure of ac program?
Explain how do you determine a file’s attributes?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is function prototype?
What functions are used for dynamic memory allocation in c language?
How do I swap bytes?
Is it better to use a macro or a function?