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

differance between copy & clon

1 Answers   Microsoft,


Do you know the problem with overriding functions?

0 Answers  


Differentiate between an array and a list?

0 Answers  


How should a contructor handle a failure?

0 Answers  


Why can’t you call invariants() as the first line of your constructor?

0 Answers  


Explain overriding.

0 Answers  


Write is a binary search tree? Write an algo and tell complexity?

0 Answers   Axtria,


What is an undefined behavior and sequence points

0 Answers  


If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

0 Answers  


Is c++ a low level language?

0 Answers  


Give 2 examples of a code optimization?

4 Answers  


Incase of a function declaration, what is extern means?

0 Answers  


Categories