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

illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2022


Is c is a high level language?

1127


Why is extern used in c?

1050


What is the advantage of an array over individual variables?

1187


What is data structure in c programming?

1029


Explain the properties of union.

1019


write a program to find out prime number using sieve case?

2036


Why is c called "mother" language?

1231


What is the Purpose of 'extern' keyword in a function declaration?

1033


What is a void * in c?

1021


Do you know what are bitwise shift operators in c programming?

1059


What is pointer & why it is used?

1061


What is nested structure with example?

1012


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

1936


What are pointers in C? Give an example where to illustrate their significance.

1167