wat is the difference between array and pointer?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Explain how do you list files in a directory?
What are the advantages of Macro over function?
WHAT IS MEANT BY LIFE?
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);
What is difference between class and structure?
write the program to find multiplication of 2-D matrix??????????
how to swap 4 number without using temporary number?
what is the difference between unix os and linux os
How can I access an I o board directly?
Explain what are preprocessor directives?
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,