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 41 of 64    Print  
what is the memory allocation for pointer?

  
Total Answers and Comments: 2 Last Update: July 03, 2008     Asked by: shanmuga sundaram 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 08, 2007 13:52:09   #1  
amar        

RE: what is the memory allocation for pointer?

Memory alllocation for pointer is same as unsigned integer.
bcoz pointer variable stores the address of the variable to which it is pointing to regardless of its data type.

for eg.

char *charptr;
int *intptr;

here sizeof(charptr)==sizeof(intptr)


 
Is this answer useful? Yes | No
July 03, 2008 03:05:16   #2  
tokks Member Since: July 2008   Contribution: 1    

RE: what is the memory allocation for pointer?
4bytes
 
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 : 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

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

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’ s The term object oriented programming’ was originally coined by Xerox PARC to designate a computer application that describes the methodol
 

C++ Memory Management operators

C Memory Management operators Need for Memory Management operators The concept of arrays has a block of memory reserved The disadvantage with the concept of arrays is that the programmer must know while programming the size of memory to be allocated in addition to the array size remaining constant m
 

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
 

The Interview Snafu

How to turn someone else’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
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

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
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

Learn Concepts

Web 2 0 Application Development Programming Concepts OOPS Concepts ERP CRM Technology Trends Supply Chain Management Neuro Linguistic Programming Client Server Service Oriented Architecture Category
 





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