What is the real difference between arrays and pointers?
Answer Posted / sankar s
array refer data in memory location , pointer refer address
to the memory location ,pointer refer the pointee
int *a;
int b[10];
a=&b;
where a is the pointer array b is pointee which point out
the starting memory location of an array.
Is This Answer Correct ? | 24 Yes | 13 No |
Post New Answer View All Answers
What is pivot in c?
What is the equivalent code of the following statement in WHILE LOOP format?
What are the different properties of variable number of arguments?
What are the disadvantages of c language?
what do you mean by inline function in C?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
What is the best way to comment out a section of code that contains comments?
What are the advantages of Macro over function?
What is the difference between a free-standing and a hosted environment?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
How can I remove the trailing spaces from a string?
What is a constant and types of constants in c?
Can you apply link and association interchangeably?
Explain how do you view the path?
What does it mean when the linker says that _end is undefined?