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

How many types of arrays are there in c?

0 Answers  


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

0 Answers  


what is bit rate & baud rate? plz give wave forms

0 Answers  


write a program to print infinte number

4 Answers  


write a program to find out prime number using sieve case?

0 Answers   HCL,


What is c programming structure?

0 Answers  


what is difference b/w extern & volatile variable??

6 Answers   Teleca,


How to write a code for reverse of string without using string functions?

0 Answers   TCS,


int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

10 Answers   Wipro,


write a program in c to read array check element is present or not?

1 Answers  


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

0 Answers   Convergys,


21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }

3 Answers  


Categories