Question: when executing the following program and the user enters 501 on the terminal 1. #include 16f877a.h #include 2. 3. 4. 5. #use delay(clock=8000000) #use rs232(baud=9600,

 when executing the following program and the user enters 501 on

when executing the following program and the user enters 501 on the terminal 1. #include "16f877a.h" #include 2. 3. 4. 5. #use delay(clock=8000000) #use rs232(baud=9600, xmit=pin_co, rcv=pin_c1) char id[5]: char id1[5]; char id2[51: 6. 7. 8. int a; 9. void main() 10. 11. strcpy(id1,"401"); 12 strcpy(id2,"502"); 13. while(1) 14. restart: 15. if(linput(pin_a0)) A. { B. printf("\WELCOME TO TO MICROCONTROLLERS LAB "); C. printf(" INSERT YOUR ID NUMBER"); D. gets(id); E. if(strcmp(id1,id)==0) 1. {printf("\WELCOME%s",id1); 2.output_high(pin_do): 3.for(a=0;a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!