If statements in C language in Details

If Command :
->
One or more condition may be given within if.
-> If the condition is true , control enters inside the scope of if and execute the statement given there.
-> After executing then control comes to the next line of the scope of if.
->If condition is false then control directly comes to the next line of the scope of if.
->If a single statement is assoociated with if then defining the scope of if using
 {
}
is optional beacuse by default the next line of if is treated as its scope.

-> if multiple statement are associated with if then defining the scope of if using
{
}
becomes compulsary .

Categories: c programming c programming

Blog Categories
Trending Courses

CodeIgniter

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Advance Digital Marketing Expert Course

Regular : 6 Months

Fastrack : 3 Months

Crash : 2 Months

React JS

Regular : 45 Days

Fastrack : 25 Days

Crash : 15 Days

Laravel

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Front End Developer

Regular : 6 Months

Fastrack : 4 Months

Crash : 2 Months

Python

Regular : 30 Days

Fastrack : 15 Days

Crash : 10 Days

Related Blogs

Request For Demo