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

Describe the modifier in c?

1142


Explain what is the purpose of "extern" keyword in a function declaration?

1121


Can we replace the struct function in tree syntax with a union?

1350


Which type of language is c?

1115


Explain the binary height balanced tree?

1232


What are the different types of errors?

1201


What is the use of function overloading in C?

1211


Describe the steps to insert data into a singly linked list.

1113


diff between exptected result and requirement?

2106


Why c is faster than c++?

1089


I came across some code that puts a (void) cast before each call to printf. Why?

1266


What are the advantages of using macro in c language?

1184


What is the purpose of & in scanf?

1120


What is the purpose of ftell?

1137


Explain what is dynamic data structure?

1216