what is pointers
Answers were Sorted based on User's Feedback
Answer / ramya
pointer is a memory variable that stores the address of the
another variabe
| Is This Answer Correct ? | 55 Yes | 0 No |
Answer / arun
A pointer is a programming language data type whose value
refers directly to (or "points to") another value stored
elsewhere in the computer memory using its address.A pointer
references a location in memory, and obtaining the value at
the location a pointer refers to is known as dereferencing
the pointer.
| Is This Answer Correct ? | 21 Yes | 5 No |
Answer / umashankar mishra
pointer is a variable which is used to store the adress of
another variable
syntax:
int *ptr
* symbole is used to defined the pointer
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / p.madhupriya
pointer is a variable that points to address of another variable
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / durgesh jaiswal
pointer is a memory variable which holds the address of another variable.........
syntax-*ptr
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / backiya
pointer is a memory variable...
it's stored address in another new variable
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramesh bhumarapu
Pointer is a Reference Variable...
which contains address of another variables
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is polymorphism important in oop?
How long to learn object oriented programming?
What is the fundamental idea of oop?
what are the realtime excercises in C++?
What is object in oops?
What causes polymorphism?
The expansion of GNU
What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined
What is multiple inheritance?
What is friend function?
what is the abstract class,interface ,its difference with a programatic eg.? hi,recently i went for an interview they ask me what is abstract class ,interface and its difference I said abstract class contain abstact method ,abstract method is a method with no body.Abstract class cannot be instantiated.Abstract class is a base class it required derived class for the implementation of method. Interface is a syntactical contract that all derived class should follow it define properties ,method,events which are known as member of interface. Then They asked me what is the difference between them. I said abstract class interface 1.abstact class can implement method 1.interface cant 2.abstact class can contain constructor, 2.interface cant destructor 3.abstract class cannot support multiple 3.interface support inheritance etc Then they said some different answer I said dont no. Then they ask me when i should make abstract class for an project and when i should make interface. I said if suppose there is two class which must be having method with different logic then we sholud make abstract class. and if suppose we have two class having method .with different logic then we can make interface . Am i correct with my explaination.if not correct me .please provide me that when should we create abstract class and interface and what is difference .please help me
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box