What is the real difference between arrays and pointers?

Answers were Sorted based on User's Feedback



What is the real difference between arrays and pointers?..

Answer / mak

@ved: abey chutiye kyu bakchodi kar rha hai idhar....

Is This Answer Correct ?    1 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / jayu

in that case i just want to tell u 1 thing that the array
needs continuous memory ,but pointer could be flexible in the,
memory allocation cases.

Is This Answer Correct ?    1 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / nagendra kumar

pointer is dependent variable
array is not a dependent variable
array is a constant pointer type it is sequence of variables

Is This Answer Correct ?    1 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / shailesh

u can access arrays by index where pointers are help to pass references to the object

Is This Answer Correct ?    0 Yes 0 No

What is the real difference between arrays and pointers?..

Answer / raja

answer#1

Is This Answer Correct ?    0 Yes 3 No

What is the real difference between arrays and pointers?..

Answer / johnson

Down at the lowest level, they both store addresses, there is
no difference. The difference is simply how the C language
allows you to use them, specially with multi dimensional
arrays. Single dimemsion arrays and pointers are practically
interchangeable.

Is This Answer Correct ?    37 Yes 47 No

What is the real difference between arrays and pointers?..

Answer / ved prakash

There is NO DIFFERENCE between Array and Pointer... Both
are 100% Equivalent... Ya but Implementation wise Array
is more friendly than Pointer, Actually Internally array is
converted into Pointer by the compiler..

I can Write more if you are not getting my Point..
U can contact me at VED.COM@GMAIL.COM

Is This Answer Correct ?    26 Yes 89 No

Post New Answer

More C Interview Questions

How important is structure in life?

0 Answers  


Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.

2 Answers   Scientific Atlanta, Wipro,


What does sizeof int return?

0 Answers  


how to print value of e(exp1)up to required no of digits after decimal?

1 Answers  


What is call by reference in functions?

1 Answers  






Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

0 Answers  


What do header files do?

0 Answers  


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

0 Answers   TCS,


5. What kind of sorting is this: SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort

2 Answers   Accenture,


Diff between for loop and while loop?

2 Answers   TCS,


Is javascript based on c?

0 Answers  


write a program to read a number and print in words that is in sentence for example 21,219 then output is "twenty one thousand and two hundred nineteen" by using only control flow statements (only loops and switch case )?

1 Answers   TCS,


Categories