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

number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.

3 Answers  


Write a C program that reads a series of strings and prints only those ending in "ed"

2 Answers   Accenture,


Explain what is dynamic data structure?

0 Answers  


create an SINGLE LINKED LISTS and reverse the data in the lists completely

3 Answers  


get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement

3 Answers  






What is the best way of making my program efficient?

0 Answers  


Explain the array representation of a binary tree in C.

0 Answers   Genpact,


Is it better to use malloc() or calloc()?

0 Answers   Aspire, Infogain,


Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.

0 Answers  


what is pointer?

4 Answers  


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

0 Answers  


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

0 Answers  


Categories