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
How many boolean functions are there?
Why strings in java are called as immutable?
What is the unit of plancks constant?
how to write a program for sending mails between client and server
What is constant in programming?
Why is the singleton pattern considered to be an anti pattern?
What does sizeof return?
Is there any sort function in java?
Does java support Operator Overloading?
What is the difference between menuitem and checkboxmenu item?
How many characters is 16 bytes?
What is callable java?
What are the advantages of java?
What is the purpose of a transient variable?
In java, how we can disallow serialization of variables?