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  >  Tech FAQs  >  Programming  >  C++
Go To First  |  Previous Question  |  Next Question 
 C++  |  Question 35 of 43    Print  
Advantages of using Pointer

  
Total Answers and Comments: 2 Last Update: July 15, 2008     Asked by: Sarfaraz S 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 10, 2008 06:36:13   #1  
wanttochange Member Since: January 2008   Contribution: 9    

RE: Advantages of using Pointer

u want advantage
1)can return more then 1 value from a function
2)no need to pass the entire object to a function..can pass just the address
3)if we want our object to be modify by some function then we have only option to pass its address or reference
4)can implement run time polymorphism(virtual...function)
5)in  writing driver .....pointer is needed....also can do programming at low level
6)can implement garbage collection thing like reference counting
7)if want to shere some object omng classes we can have the pointer of that object
in each intyerested classes

......actually we can't move without pointer .....its power of c & c++

we can find lot more uses... 
 


 
Is this answer useful? Yes | No
July 15, 2008 08:56:33   #2  
jaihind007 Member Since: July 2008   Contribution: 3    

RE: Advantages of using Pointer
Advantages:

* Increasing the programming performance , Using pointers we can able to access the variables faster
* Dynamic memory management
* Data structure handling (Linkedlist, Stack ,Queue, Data dictionary,....)
* File management using FILE pointer

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Disadvantage:- You cann't create object of that particular class.Advantage:- you can bound the user to use the static function of that class to create the object so that your function can keep track of all the objects created ,according to the ...

Latest Answer : Dangling pointer leads the memory leak problems. The following circumstances are memory leak ( dangling pointers ), not for good programming practice , try to avoid1) Try to avoid the empty object pointer creation2) Memory allocation without de allocation.3) ...
Read Answers (2) | Asked by : karibasi
Tags : Pointer

Latest Answer : Advantages:* Increasing the programming performance , Using pointers we can able to access the variables faster* Dynamic memory management * Data structure handling (Linkedlist, Stack ,Queue, Data dictionary,....)* File management using FILE pointer ...
Tags : Pointer

What is auto pointer ? What is the use of this ? 
Latest Answer : Auto pointer is nothing but, Proper memory management ( memory Allocation and deallocation).In C++ there is class template "auto_ptr" this is good example for auto pointer. Only we need to allocate a memory using the "auto_ptr" class ...
Tags : Pointer

Latest Answer : pointers that do not point to a valid object of the appropriate type. Dangling pointers arise when an object is deleted or deallocated, without modifying the value of the pointer, so that the pointer still points to the memory location of the deallocated ...
Read Answers (1) | Asked by : vijaymca


 Sponsored Links

 
Related Articles

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
 

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
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Advantages of Using Oracle

Oracle has many advantages and features that makes it popular and thereby makes it as the largest enterprise software company. Oracle comes with new versions with new features implemented in new version while the features of earlier versions still being maintained. One important aspect is Oracle da
 

Advantages of Using SAP R/3 in comparison with other Similar Tools

ERP system takes a lead role because of some of the following reasons: Many large corporations use several different and separate information systems, often because they have merged with and/or acquired other companies with varied systems. An ERP system integrates these separate information systems
 

Advantages of Using VoiceXML In Comparison To Similar Tools

Another powerful advantage of VoiceXML is the ability for the system to re-use certain Internet structures. The vast majority of companies today use either one of two infrastructures, and these are the IVR infrastructure or the web based infrastructure. VoiceXML is powerful because it will allow
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.  By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.  IT Certification offers several vari
 

SOA Advantages

SOA Advantages Businesses in today’ s competitive environment are constantly faced with the challenge of having to provide more with fewer resources Businesses are constantly under pressure to deliver goods and services to the market at a faster cheaper rate and at higher quality than in
 

XML Advantages

XML Advantages There are many advantages to using XML for information exchange and they offer many benefits to the user The Extensive Markup Language uses human language which is conversable and not the language used by computers which is binary and ASCII coded XML is readable by even people who hav
 





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