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 |
What are friend classes?
What is Virtual Inheritance?
Write about the role of c++ in the tradeoff of safety vs. Usability?
Difference between Overloading and Overriding?
35 Answers Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,
why is c++ called oops? Explain
What is class syntax c++?
What is DlgProc?
Can we run c program in turbo c++?
What are move semantics?
What does iomanip mean in c++?
Adobe Interview & Adobe Placement Paper
How many keywords are used in c++?