what is the difference between normal variables and pointer
variables..............
Answer Posted / sree
normal variable stores a value of the given datatype where
as the pointer variable stores the address of a variable.
for example
int n=10;
int *p;
p=&n;
here p is a pointer variable and n is a normal
variable.p stores the address of n where as n stores an
integer value.
*p prints the value of n,p prints the address
of n.
| Is This Answer Correct ? | 117 Yes | 19 No |
Post New Answer View All Answers
What is your stream meaning?
What is context in c?
What does typeof return in c?
What are the restrictions of a modulus operator?
What are bitwise shift operators in c programming?
What are the types of bitwise operator?
Explain the use of 'auto' keyword
What are the types of i/o functions?
How do you define a function?
Explain what is dynamic data structure?
What is the difference between constant pointer and constant variable?
What is spaghetti programming?
Is swift based on c?
can any one tel me wt is the question pattern for NIC exam
What is the use of f in c?