Arrays in C

Imagine that you have to store and later retrieve the unique ID of all of the registered voters in your city. Yes, you can create and name hundreds of thousands of distinct variable names to store the information. However, that would scatter hundreds of thousands of names all over memory. In addition, there is a … Read more

Nesting of Decision Making Statements in C

Nesting if statement means placing if statement inside another if statement. The general syntax of nesting if statement is as follows: if ( condition1 ) { statement1; if ( conditionA ) { statementA; } statement2; } This means if condition1 evaluates to True, then statement1 will be executed. After this, conditionA will be checked, if … Read more