What is the real difference between arrays and pointers?
Answer Posted / sachin.r
Arrays allocate the memory during compile time.
Pointers allocate the memory during runtime.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of header files?
How do you search data in a data file using random access method?
What is the use of structure padding in c?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What is the difference between a string and an array?
why programs in c are running with out #include
What functions are used in dynamic memory allocation in c?
What are the 5 elements of structure?
What is a pointer value and address in c?
What are the different types of errors?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
Explain how do you determine whether to use a stream function or a low-level function?
What is difference between %d and %i in c?
Define circular linked list.
What is the meaning of && in c?