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
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
Is c is a high level language?
Why is extern used in c?
What is the advantage of an array over individual variables?
What is data structure in c programming?
Explain the properties of union.
write a program to find out prime number using sieve case?
Why is c called "mother" language?
What is the Purpose of 'extern' keyword in a function declaration?
What is a void * in c?
Do you know what are bitwise shift operators in c programming?
What is pointer & why it is used?
What is nested structure with example?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
What are pointers in C? Give an example where to illustrate their significance.