if else statement in c

if else statement in c An if statement can be followed by an optional else statement, which executes when the boolean expression is false. Syntax: The syntax of an if…else statement in C programming language is: if(boolean_expression) { /* statement(s) will...

if statement in c

if statement in c An if statement consists of a boolean expression followed by one or more statements. Syntax: The syntax of an if statement in C programming language is: if(boolean_expression) { /* statement(s) will execute if the boolean expression is true */ } If...

Projection of Cone

Projection of Cone Sample Problem1: Draw the projection of  cone , base 30 mm diameter and axis 50 mm long , resting on HP on a point of its base circle with the axis making an angle of 45º with HP and parallel to VP. Steps for Projection of Cone : Simple Position: 1....

goto statement in c

goto statement in c A goto statement in C programming language provides an unconditional jump from the goto to a labeled statement in the same function. NOTE: Use of goto statement is highly discouraged in any programming language because it makes difficult to trace...

continue statement in c

continue statement in c The continue statement in C programming language works somewhat like the breakstatement. Instead of forcing termination, however, continue forces the next iteration of the loop to take place, skipping any code in between. For the for loop,...

break statement in c

break statement in c The break statement in C programming language has the following two usages: When the break statement is encountered inside a loop, the loop is immediately terminated and program control resumes at the next statement following the loop. It can be...