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 Pointer?

Answer Posted / n.v.swami reddy

pointer is variable which holds the address of nother
variable is called pointer.
pointer concept does not support the java.it only for c,c++,


EXAMPLE PROGRAM FOR C:
MAIN()
{
int *a=25;/*it print the value address of the a variable
value*/
int b=a;/*a value assign b*/
int c=&b;/*it print the value of the b*/
printf("%d",*a);
printf("%d",b);
printf("%d",c);
getch();
}

OUTPUT:
245 ADDRESS OF A
25
25

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is collections framework?

1098


What is an example of a boolean?

999


How do I print a “?

946


Difference between collection, collection and collections in java?

953


Which is better stringbuffer or stringbuilder?

869


Can we have return statement in finally clause? What will happen?

912


What is the benefit of using enum to declare a constant?

1038


What is static and final keyword in java?

976


Differentiate between nested and inner class in java.

951


What is java Applet?

1033


What is final keyword in java? Give an example.

948


What is string builder in java?

949


When does a class need a virtual destructor?

949


How to connect to a remote database using Applet?

2478


How do you check if a string is lexicographically in java?

900