What is the real difference between arrays and pointers?
Answer Posted / sachin.r
Arrays allocate the memory during compile time.
Pointers allocate the memory during runtime.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are c identifiers?
What is the value of h?
Differentiate between a for loop and a while loop? What are it uses?
Why do we use & in c?
c program to compute AREA under integral
Explain what are the different file extensions involved when programming in c?
What is actual argument?
Why pointers are used in c?
Is c high or low level?
What are identifiers and keywords in c?
Did c have any year 2000 problems?
What is scope rule of function in c?
What is logical error?
Explain what are the __date__ and __time__ preprocessor commands?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.