can we write if condition in function code example
Example: syntax of if stmt
if (condition)
{
//Block of C statements here
//These statements will only execute if the condition is true
}
if (condition)
{
//Block of C statements here
//These statements will only execute if the condition is true
}