UNIX has no bearing on the C language; it is cross-platform. There is no select/case in C, you probably meant switch/case. However, a switch/case is a conditional jump while a nested loop is a loop within a loop. Besides the C language they have nothing in common with each other.
In C a structure within a structure is called nested. For example, you can embed a while loop in another while loop or for loop in a for loop or an if statement in another if statement.
In a structured program, any structure can be nested within another structure.
nested if Statement
You really need some nested loops; but some programming languages might allow you to write this as one statement.
If these expressions are stand-alone (not nested), then they do the same thing, ie increment 'n'.
The difference is mainly in the way a compound condition is set out. A nested IF can be rewritten in terms of IFAND, and conversely.
Nesting can be a very handy tool in C++, but should be avoided if possible.C++ gives us If statements, For loops and many other things. These can be nested. For example:A nested If statement://outer if statementIf( this is true ){//nested if statementif( this is also true ){//do something}else{//do something else}}
The word evaluate in the programming language COBOL can be used to replace a nested if statement. Instead of long statement evaluate allows one to shorten the coding required and write cleaner code.
we use "nested if" if we have to test a large number of possibilities and trials i an if statement.
If(condition) { if-else statement; } else { if-else statement; }
The main difference between a local class and a nested class is, local class can be used for once of a perticular part where as nested class can be used used anywhere through out the program. You may get clear information regarding Interview Questions at http://www.bigvacancies.com/java-interview-questions/
yes,we can