What is the real difference between arrays and pointers?
Answer Posted / shubham arora
1-through pointers we can access data directly while in array we have to traverse the whole array for accessing particular data.
2- due to above reason accessing through pointers is fast than
array.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is a pointer a kind of array?
What is non linear data structure in c?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
How is = symbol different from == symbol in c programming?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Explain the use of 'auto' keyword in c programming?
How can you check to see whether a symbol is defined?
what is a constant pointer in C
Between macros and functions,which is better to use and why?
What are global variables and how do you declare them?
Explain what is the difference between null and nul?
Explain the use of function toupper() with and example code?
Why is c so powerful?
How do you write a program which produces its own source code as output?
What is function and its example?