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
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
Is null a keyword in c?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
What are the 4 types of unions?
When should a type cast not be used?
What is scanf () in c?
How can you find the day of the week given the date?
Explain built-in function?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
What is the purpose of type declarations?
Why are algorithms important in c program?
What is a substring in c?
Do pointers take up memory?
What is difference between class and structure?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .