guys can we use if statement like:
if(function1;function2);
Can we do this
guys can we use if statement like:
if(function1;function2);
Can we do this
No. You can use Boolean operators to test the result of multiple functions (e.g., if (function1()&&function2()) to test if both are true ), though.
kaan03:
guys can we use if statement like:if(function1;function2);
Can we do this
if (function1() && function2())
{
}
or
if (function1() || function2())
{
}
if function1 and function2 return boolean values