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
Describe the modifier in c?
Explain what is the purpose of "extern" keyword in a function declaration?
Can we replace the struct function in tree syntax with a union?
Which type of language is c?
Explain the binary height balanced tree?
What are the different types of errors?
What is the use of function overloading in C?
Describe the steps to insert data into a singly linked list.
diff between exptected result and requirement?
Why c is faster than c++?
I came across some code that puts a (void) cast before each call to printf. Why?
What are the advantages of using macro in c language?
What is the purpose of & in scanf?
What is the purpose of ftell?
Explain what is dynamic data structure?