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 do you break a loop?
What is navigable map in java?
What are the 2 types of java programs?
What happens when a thrown exception is not handled?
What do heavy weight components mean in java programming?
What is java jit compilers?
Name few java.lang classes introduced with java 8 ?
What is the major difference between linkedlist and arraylist?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
How does the java compiler work?
What is increment in java?
What do you mean by constructor?
What is the benefit of lambda expressions?
Why does java not support operator overloading?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?