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

Write a C program to count the number of email on text

1422


show how link list can be used to repersent the following polynomial i) 5x+2

1683


Are c and c++ the same?

629


What is double pointer in c?

593


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2273






What is keyword with example?

646


What is data type long in c?

627


Can we declare function inside main?

572


What are linker error?

620


Explain what is the benefit of using an enum rather than a #define constant?

728


What are the three constants used in c?

549


Why isnt any of this standardized in c?

641


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

2618


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1493


What is self-referential structure in c programming?

662