What is the real difference between arrays and pointers?

Answer Posted / guest

Arrays automatically allocate space which is fixed in size and
location; pointers are dynamic.

Is This Answer Correct ?    202 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the explanation for the dangling pointer in c?

905


What is union and structure in c?

886


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2132


Differentiate between #include<...> and #include '...'

831


What are global variables?

889


What are the primitive data types in c?

804


What is the difference between pure virtual function and virtual function?

898


How can I call a function with an argument list built up at run time?

932


How is a structure member accessed?

852


What is the purpose of void in c?

814


Explain about C function prototype?

852


code for replace tabs with equivalent number of blanks

1926


How can you increase the allowable number of simultaneously open files?

840


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1760


Why malloc is faster than calloc?

829