What is the real difference between arrays and pointers?
Answer Posted / vipul singh
there is only a single difference between array and pointer,
in c lang array is limited(limited in the sense,define the
size at complie time) while pointer are upto memory location.
array and pointer both point to the initial
address.
if somebody says it is wrong so pls tell me the correct
difference.
im vipul from jaipur doing MCA 2nd sem.
my email id is vipul.fifteen@yahoo.com
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Explain what is the benefit of using #define to declare a constant?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What does 4d mean in c?
what is use of malloc and calloc?
What is anagram in c?
Write a program to reverse a given number in c?
program for reversing a selected line word by word when multiple lines are given without using strrev
Why use int main instead of void main?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
What does void main return?
Define VARIABLE?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is typedf?
Explain what does the format %10.2 mean when included in a printf statement?