compare array with pointer?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we add pointers together?

802


How can you find out how much memory is available?

794


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

990


What is a buffer in c?

750


How can I find the modification date of a file?

923


Which is better pointer or array?

789


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2442


Is c compiled or interpreted?

869


explain what is an endless loop?

811


What is wrong in this statement? scanf(“%d”,whatnumber);

958


In C programming, what command or code can be used to determine if a number of odd or even?

808


What is difference between arrays and pointers?

753


What does the error 'Null Pointer Assignment' mean and what causes this error?

956


How to set file pointer to beginning c?

890


What are the differences between new and malloc in C?

793