what is meant by the "equivalence of pointers and arrays" in
C?

Answer Posted / shruti

An array is a constant pointer.
a[10] is equivalent to *a..
it is known as base pointer..

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can the curly brackets { } be used to enclose a single line of code?

715


Here is a good puzzle: how do you write a program which produces its own source code as output?

599


What is structure pointer in c?

573


Explain what are preprocessor directives?

629


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

725






please give me some tips for the placement in the TCS.

1633


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2518


Can a pointer be static?

625


Why c language?

648


How many loops are there in c?

582


Whats s or c mean?

593


Do you know the use of fflush() function?

603


Which is best book for data structures in c?

599


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

635


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1305