Question: I/ Identify the incorrect code by line number (i.e. 1, 6, 18). Enter one line number in each answer box. II This code snippet is


I/ Identify the incorrect code by line number (i.e. 1, 6, 18). Enter one line number in each answer box. II This code snippet is from a program that inputs chararacters from I/ UART RX1, echos back chars 1 . 1.\#include "pic24_all.h" 2. \#include "std_io.h" 3.int main(void) \{ 4. uint8_tu8_c; 5. 6. configClock(); 7. configDefaultUART(DEFAULT_BAUDRATE); 8. 9. printf(" Hello World! \ n"); 10. 11. // Echo character +1; 12. while (1) \{ 13. 48_c= inChar(); //get character 14. outChar(u8_c); //echo the character 11. // Echo character +1; 12. while (1) \{ 13. u8_c = inChar(); //get character 14. outChar(u8_c); //echo the character 15. u8_c++; //increment the character 16. outChar(u8_c); //echo the character 17. ]// end while (1) 18.) A. Ay I/ Identify the incorrect code by line number (i.e. 1, 6, 18). Enter one line number in each answer box. II This code snippet is from a program that inputs chararacters from I/ UART RX1, echos back chars 1 . 1.\#include "pic24_all.h" 2. \#include "std_io.h" 3.int main(void) \{ 4. uint8_tu8_c; 5. 6. configClock(); 7. configDefaultUART(DEFAULT_BAUDRATE); 8. 9. printf(" Hello World! \ n"); 10. 11. // Echo character +1; 12. while (1) \{ 13. 48_c= inChar(); //get character 14. outChar(u8_c); //echo the character 11. // Echo character +1; 12. while (1) \{ 13. u8_c = inChar(); //get character 14. outChar(u8_c); //echo the character 15. u8_c++; //increment the character 16. outChar(u8_c); //echo the character 17. ]// end while (1) 18.) A. Ay
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
