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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a volatile variable in c++?

1470


Why c++ is better than c language?

1020


Does a derived class inherit or doesn't inherit?

1093


Mention the ways in which parameterized can be invoked. Give an example of each.

1065


Why use of template is better than a base class?

1188


What does I ++ mean in c++?

1107


Is c++ a low level language?

971


What is abstraction in c++?

1361


What is functions syntax in c++?

1145


How would you use the functions memcpy(), memset(), memmove()?

1098


What is the best ide for c++?

1094


How to allocate memory dynamically for a reference?

1049


What is #include cstdlib in c++?

1188


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

1265


What are the two types of polymorphism?

1143