InterviewSolution
Saved Bookmarks
| 1. |
The following piece of code uses __interrupt keyword to define an ISR. Comment on the correctness of the code. |
|
Answer» __interrupt double calculate_circle_area (double radius){ double circle_area = PI ∗ radius ∗ radius; printf ( 'Area = %f ' , circle_area); return circle_area;} Following things are wrong with the given PIECE of CODE:
|
|