Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is your stream meaning?

1141


What is context in c?

890


What does typeof return in c?

1024


What are the restrictions of a modulus operator?

1070


What are bitwise shift operators in c programming?

1041


What are the types of bitwise operator?

1055


Explain the use of 'auto' keyword

1079


What are the types of i/o functions?

1267


How do you define a function?

979


Explain what is dynamic data structure?

1122


What is the difference between constant pointer and constant variable?

1176


What is spaghetti programming?

1080


Is swift based on c?

1060


can any one tel me wt is the question pattern for NIC exam

1926


What is the use of f in c?

941