GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Concepts  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 12 of 64    Print  
What is the implementation of pointer in prospect of C++ language?

  
Total Answers and Comments: 2 Last Update: March 18, 2006     Asked by: sachinp1979 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 26, 2006 07:46:54   #1  
       

RE: What is the implementation of pointer in prospect ...
See Sachidananda Patnaik there are so many implementation of pointer in prospect of c++ language. I think your question is in regards to java, even if is not , i would just like to inform you one of prospect as in java program we use API in java right all this are made of by the implementation C/C++. As far as pointer is concern see every byte in the computer's memory has a address and a value. These are occupied when you write any program to in order to deal with these address you implement pointer. It makes your functions more powerful with different scope.
 
Is this answer useful? Yes | No
March 18, 2006 12:31:58   #2  
vijay_sastry        

RE: What is the implementation of pointer in prospect ...
C++ is an Object Oriented Programming Language is as we know , perfectly backword compatible with C. Becase of this backword compatibility .. it has got many flaws in it that prevented it to become a really good OOP language. Java was developped by keeping this point in mind . In java we cant find pointers and many other thing which may cause problems to the developped software system.I will demonstrate the flaw in C++ that occured by providing the programmer with grabbing addresses and accessing every memory location, with this simple example.class confidential{ private : int secret_code; public : confidential(int s=0) { this.secret_code = s; } void get_data(int x) { this.secret_code = x; } void display(void) { cout << "The secret code is : " <secret = 888; c.display();return 0;} So , this type of pointer usage in C++ prevented it to provide security to the data members inside an object. But , we cant find such problems with java .
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : C++ is an Object Oriented Programming Language is as we know , perfectly backword compatible with C. Becase of this backword compatibility .. it has got many flaws in it that prevented it to become a really good OOP language. Java was developped by ...
Tags : Pointer

Latest Answer : Server container will call the callback methods like init() etc.. throught which the servlet object is constructed ...
Read Answers (1) | Asked by : prashant

Latest Answer : Dangling pointers and wild pointers in computer programming are pointers that do not point to a valid object of the appropriate type, or to a distinguished null pointer value in languages which support this. Dangling pointers arise when an object is deleted ...
Read Answers (1) | Asked by : rajan.c
Tags : Pointer

Latest Answer : arulkumar:  No, Void pointer is a pointer it is automatically type casted, we can assign to any pointer. But NULL pointer is a pointer which holds 0 (zero) as its content. (i.e) It doesn't pointing anything.   ...
Tags : Pointer

Latest Answer : 4bytes ...
Read Answers (2) | Asked by : shanmuga sundaram
Tags : Pointer

Abstraction is defined as hiding details from the end user who should be in no way concerned about the details of the internal mechanism on implementation...but then the same can be achieved in C also 
View Question | Asked by : Adit Agarwal

Explain about void pointer and it's real time usage in Business 
Latest Answer : Pointer to void, or a void pointer, is a special type of pointer that has a great facility of pointing to any data type.Example:int i; float f; int* exf; float* test; then exf=&i;//Corerct-exf ...
Tags : Pointer

Why C considered as a High Level language? In C we are using pointers to access memory ,hence why HLL? 
Latest Answer : because C is very simple to learn, easy to use and its reliable thats y most of them opt for C.And C is base for every language you learn...That is C++ and java's foundation is C...It is like a foundation of a building over which other floors are ...


 Sponsored Links

 
Related Articles

SQA Implementation

SQA Implementation Developers and the SQA team create a development plan before they build an application The developers write following the SDLC plan while the SQA team writes the Software Quality Assurance Plan to ensure that the SDLC plan was executed If these documents by the developers and the
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

OOPS Tutorials

Object oriented programming OOP is a computer science term used to characterize a programming language that began development in the 1960&rsquo; s The term object oriented programming&rsquo; was originally coined by Xerox PARC to designate a computer application that describes the methodol
 

ERP and DSS Implementation

ERP Implementation of DSS With the birth of electronic commerce and supply chains the call centers and other business initiatives supported by the information technologies had been worried about finding applications that join to decode interpret and take the opportunity to make good use of the risks
 

C++ Void Pointer and Null Pointer

C Void Pointer and Null Pointer In this C tutorial you will learn about two interesting types of pointers; void pointers and Null Pointer These pointers will be discussed in conjunction with syntax usage and example mosgoogle center Pointer to Void General Syntax void pointer variable; Void is use
 

SOA Concepts

SOA Concepts Today the concept of Service Oriented Architecture has become ubiquitous Evidence from recent years establish that SOA is not just about hype but a part of every major Business environment The truth is Service Oriented Architecture can be beneficial to Business only when it is utilized
 

Language Enhancements in SQL Server 2005

The T-SQL has been enhanced to include error handling, recursive query and to support the new database engine capabilities. Two new relational operators have been introduced&mdash;PIVOT and UNPIVOT for use in the FORM clause query. They perform manipulation on an input table valued expression an
 

ITIL Planning for Service Implementation

When planning to implement service management it is important to understand that it is a set in the information technology infrastructure library framework. The set is about the alignment of the needs and the IT provision requirements. This set also describes how to implement or improve IT service
 

System Implementation

In the previous articles relating to SDLC Stages we&nbsp;discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

The Interview Snafu

How to turn someone else&rsquo;s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape