What is the real difference between arrays and pointers?

Answer Posted / saurabh agarwal

array name is a unmodifiable lvalue whereas pointer is a modifiable l value

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you generate random numbers in c?

631


Explain spaghetti programming?

691


Explain what are header files and explain what are its uses in c programming?

634


What is printf () in c?

592


Explain what is the benefit of using enum to declare a constant?

596






Explain what is the benefit of using const for declaring constants?

624


Write a program to print fibonacci series using recursion?

597


Calculate 1*2*3*____*n using recursive function??

1530


How will you write a code for accessing the length of an array without assigning it to another variable?

624


What is the g value paradox?

656


What are the different types of C instructions?

688


What is header file in c?

611


What are the advantages and disadvantages of pointers?

590


Difference between exit() and _exit() function?

666


Why c is faster than c++?

640