wat is the difference between array and pointer?

Answers were Sorted based on User's Feedback



wat is the difference between array and pointer?..

Answer / unni

array is a fixed sequence collection of elements of the same datatype:
pointer contains memory address as their values...

Is This Answer Correct ?    18 Yes 1 No

wat is the difference between array and pointer?..

Answer / shraddha choubey

1)array do not contains address.. but pointers contains address .
2)array means continues memory location but,pointers do not.

Is This Answer Correct ?    10 Yes 4 No

wat is the difference between array and pointer?..

Answer / sanjay gupta

array is the similsr type of data and pointer is a momery location of element...

Is This Answer Correct ?    6 Yes 0 No

wat is the difference between array and pointer?..

Answer / lucky

In a arry we have to specify length before we use.
But in the case of poiters we don't need.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

Explain how do you list files in a directory?

0 Answers  


What are the advantages of Macro over function?

1 Answers  


WHAT IS MEANT BY LIFE?

2 Answers  


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

0 Answers   Wilco,


What is difference between class and structure?

0 Answers  


write the program to find multiplication of 2-D matrix??????????

1 Answers  


how to swap 4 number without using temporary number?

2 Answers  


what is the difference between unix os and linux os

4 Answers  


How can I access an I o board directly?

0 Answers  


Explain what are preprocessor directives?

0 Answers  


what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 Answers   Accenture, Infosys, Wipro,


What is the difference between char a[] = "string"; and char *p = "string"; ?

14 Answers   Adobe, Honeywell, TCS,


Categories