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
What should malloc(0) do?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Why is sizeof () an operator and not a function?
Does c have an equivalent to pascals with statement?
What is meant by initialization and how we initialize a variable?
What does %2f mean in c?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
Why c is called free form language?
What are the 5 types of inheritance in c ++?
What are the standard predefined macros?
What is a wrapper function in c?
Write a program to swap two numbers without using the third variable?
Explain Basic concepts of C language?
Is python a c language?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;