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
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
Do pointers need to be initialized?
write a program to rearrange the array such way that all even elements should come first and next come odd
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What are c header files?
What does s c mean in text?
What is the use of a static variable in c?
What do you mean by keywords in c?
What is data structure in c programming?
What is the maximum no. of arguments that can be given in a command line in C.?
Write a program to know whether the input number is an armstrong number.
Write a factorial program using C.
What are the advantages of using Unions?
what is the diffrenet bettwen HTTP and internet protocol
What is variable in c example?