Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why seem interrupt handlers as member functions to be impossible?



Why seem interrupt handlers as member functions to be impossible?..

Answer / rohit sah

Interrupt handlers as member functions _are_ possible. But they must be static member functions. Static member functions don't make use of the implicit 'this' pointer required by normal member functions. The caller of the interrupt handler doesn't know anything about objects and 'this' pointers, so it can't pass a value of such a pointer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

How do you know that your class needs a virtual destructor?

5 Answers   Lucent,


Explain how functions are classified in C++ ?

0 Answers  


What are manipulators used for?

0 Answers  


What is the basic structure of c++ program?

0 Answers  


What is c++ map?

0 Answers  


Write a program to calculate the BMI of a person using the formula BMI = weight/height2.

2 Answers  


What are the weaknesses of C++?

1 Answers  


What does override mean in c++?

0 Answers  


What do you mean by stack unwinding in c++?

0 Answers  


Will the following program execute?

0 Answers  


Why c++ is called oop?

0 Answers  


What is class in c++ with example?

0 Answers  


Categories