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
What are data types in c language?
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 the difference between printf and scanf )?
What is the heap in c?
what is uses of .net
Apart from dennis ritchie who the other person who contributed in design of c language.
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
What does a pointer variable always consist of?
What is return in c programming?
Tell us the use of fflush() function in c language?
Which node is more powerful and can handle local information processing or graphics processing?
What is the use of printf() and scanf() functions?
Can the sizeof operator be used to tell the size of an array passed to a function?
Explain continue keyword in c
what is the structure pointer?