What is the real difference between arrays and pointers?
Answer Posted / subhasmita swain
arrays stores a block of contigious memory .where as
Pointers are save the base address of the block of
memory,it may be a array of datas.pointers can resize them
shelves by pointing to a different block of memory,in
contrast arrays are fixed size.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What does int main () mean?
What does struct node * mean?
What are valid operations on pointers?
Why is structure padding done in c?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
In a switch statement, what will happen if a break statement is omitted?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Should I learn data structures in c or python?
Is the exit() function same as the return statement? Explain.
can any one provide me the notes of data structure for ignou cs-62 paper
What is strcmp in c?
What is the advantage of c?
Is null valid for pointers to functions?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.