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
How arrays can be passed to a user defined function
Explain what is a stream?
What is the use of sizeof () in c?
What is wrong with this statement? Myname = 'robin';
Why do we use main function?
Is c object oriented?
What is a loop?
Why is %d used in c?
write a program to display all prime numbers
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is a scope resolution operator in c?
using for loop sum 2 number of any 4 digit number in c language
What is calloc in c?
What is the difference between array and structure in c?