I am trying to program pic microcontroller. Now i faced with nested if statement. (Compiler-Mikroc from mikroelektronika). Here i wrote simplified code:
if(a==1){if(b==1){c=1;};}.
We have variables:a=0, b=1. Whether a variable c will be changed to 1 or not?
if(a==1){if(b==1){c=1;};}.
We have variables:a=0, b=1. Whether a variable c will be changed to 1 or not?