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
Why can’t constant values be used to define an array’s initial size?
What is the difference between abs() and fabs() functions?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What is the purpose of macro in C language?
In C, What is the #line used for?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
How do I use void main?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What is the difference between exit() and _exit() function?
What is switch in c?
What is #define in c?
What is #define used for in c?
Are negative numbers true in c?
Explain how do you determine a file’s attributes?
Explain how can you tell whether two strings are the same?