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
What does volatile do?
Why use int main instead of void main?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
How does free() know explain how much memory to release?
Explain how do you print an address?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What is a newline escape sequence?
What are the uses of a pointer?
What is non linear data structure in c?
Is boolean a datatype in c?
Explain what happens if you free a pointer twice?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
Why can't I perform arithmetic on a void* pointer?
What is a static variable in c?
c language interview questions & answer