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 is the auto keyword good for in c++?
What is the difference between *p++ and (*p)++ ?
What are the various storage classes in C++?
Have you used MSVC? What do you think of it?
Write about the various sections of the executable image?
what is object?
Which is the best c++ software?
Where is atoi defined?
Const char *p , char const *p What is the difference between the above two?
Explain selection sorting. Also write an example.
You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?