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
Difference between Shallow copy and Deep copy?
Why c is called procedure oriented language?
What is pointer to pointer in c language?
i want to know the procedure of qualcomm for getting a job through offcampus
What is omp_num_threads?
What is #define size in c?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
What will the preprocessor do for a program?
How can I automatically locate a programs configuration files in the same directory as the executable?
What are the types of macro formats?
What is a file descriptor in c?
Explain how do you determine the length of a string value that was stored in a variable?
Is int a keyword in c?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is struct node in c?