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
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
What are 3 data types?
Where we write javascript code in html page?
How do you declare a string variable?
Explain the advantages of packages in java?
Give an example of call be reference significance.
How to retrieve data from database in java using arraylist?
Explain about anonymous inner classes ?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
Can long be null in java?
What happens when heap memory is full?
What is sizeof () operator?
What is the use of static class?
Can we assign null to double in java?
What do you understand by classes in java?