What is the real difference between arrays and pointers?

Answer Posted / bhavani.p

Array is slow,array refer data in memory location.
Pointer is fast,pointer refer address to the memory location....

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a loop?

564


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

621


write a program in c language to print your bio-data on the screen by using functions.

6259


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

603


What are the advantages of union?

639






How will you divide two numbers in a MACRO?

725


Which driver is a pure java driver

998


how we can make 3d venturing graphics on outer interface

4028


using for loop sum 2 number of any 4 digit number in c language

1747


Is c high or low level?

598


What is the difference between fread and fwrite function?

644


Explain why can’t constant values be used to define an array’s initial size?

873


What is calloc in c?

673


Do you have any idea how to compare array with pointer in c?

615


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

4750