What is the real difference between arrays and pointers?

Answer Posted / rag

ARRAYS are allocated at compile time.
POINTERS are alocated at run time.
USE POINTERS FOR PROGRAM EFFICIENCY,BECAUSE MEMORY IS
PRECIOUS ONE. So to reduce memory use pointers.

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is union in c?

630


What is the -> in c?

579


What is variable initialization and why is it important?

613


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1650


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

667






code for find determinent of amatrix

1511


When do we get logical errors?

633


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1672


What is a lvalue

657


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

625


What do you mean by a sequential access file?

621


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1644


Between macros and functions,which is better to use and why?

1565


Can variables be declared anywhere in c?

614


how to count no of words,characters,lines in a paragraph.

3899