compare array with pointer?



compare array with pointer?..

Answer / vadivel t

conceptually, pointer is another representation of an array.
In both the concepts data elements can be accessed using
subscripts.

Array knows the boundary of it. But pointer will not know
its boundary, unless otherwise informed explicitly.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More C Interview Questions

When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

0 Answers   TISL,


what are the stoge class in C and tel the scope and life time of it?

2 Answers   Tech Mahindra,


What is n in c?

0 Answers  


Write a program to check armstrong number in c?

0 Answers  


define c

6 Answers   HCL, TCS,






Explain how do I determine whether a character is numeric, alphabetic, and so on?

0 Answers  


Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)ferror() A)ii B)i,ii C)iii D)iv

6 Answers   Accenture,


What are pointers? What are stacks and queues?

0 Answers   Hexaware,


What is the mean of this statement:: if(int i=0 * i=9)

2 Answers   HCL,


Explain what is wrong with this statement? Myname = ?robin?;

0 Answers  


What is a void pointer in c?

0 Answers  


Write program to remove duplicate in an array?

0 Answers  


Categories