CONTROL STRUCTURE in C++:- A control structure is a block of programming that analyzes¬†variables¬†and determines the order in which statements are executed. Loop Control Structure:- For For(initialize counter; test condition; re-evaluation parameter) { Statement; Statement; } While while(test condition) { Body of loop }   Do-while do { statement; } while(condition) Selection Control Structure:- Switch… Continue reading CONTROL STRUCTURE in C++

Control Structure in C

CONTROL STRUCTURE:- Hanging if is not allowed in C language. If a statement is used for checking range and yes/no problem. else is the optional part of the if. Execution of the switch case starts from the match case. Use break to prevent the falling of control from one case to another case. If none… Continue reading Control Structure in C