Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
In the following code printf() before break is not executed ; An explanation please Thank you Markos Thanos
main() { while(1) { kbrd_char=pc.getc(); if ( kbrd_char=='a') { printf(" Hallow "); }; if ( kbrd_char=='b') { printf(" Bye "); break; }; }; // while (1) }// main