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

Write about the members that a derived class can add?

0 Answers  


What is private public protected in c++?

0 Answers  


Can you write a function similar to printf()?

0 Answers  


Mention the ways in which parameterized can be invoked.

0 Answers  


What is the use of namespace std in C++?

0 Answers   Hexaware,


What are the data types in c++?

0 Answers  


What is function overriding?

1 Answers  


5. Can inline functions have a recursion?

4 Answers  


how to connect with oracle 9i with server in socket program in c/c++

0 Answers   3i Infotech,


What do you understand by zombie objects in c++?

0 Answers  


What is null and void pointer?

0 Answers  


What is else syntax in c++?

0 Answers  


Categories