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
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Do pointers need to be initialized?
Explain how can you check to see whether a symbol is defined?
What is "Duff's Device"?
What is a far pointer in c?
What is the auto keyword good for?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
How can I direct output to the printer?
Why is it important to memset a variable, immediately after allocating memory to it ?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
What is file in c preprocessor?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Explain how do you sort filenames in a directory?
Write programs for String Reversal & Palindrome check