why do we use pointer instead directly acessing the data?
Answer Posted / jitendra mishra
As we know pointer shows the address of a particular variable in the memory space.and accessing variable by its name is a bit time consuming because there can have more than one variable of same name but there can not be same address for two different variables.So pointer is more accurate and quick.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
how can I convert a string to a number?
Explain what are binary trees?
In a header file whether functions are declared or defined?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
What is %s and %d in c?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Is that possible to store 32768 in an int data type variable?
How can I discover how many arguments a function was actually called with?
What is difference between far and near pointers?
What is the value of uninitialized variable in c?
Apart from dennis ritchie who the other person who contributed in design of c language.
When should you use a type cast?
Is javascript based on c?