saving . . . saved nested if else has been deleted. nested if else has been hidden .
nested if else
Title
Question
Nested if else is used specially in which type of program ?

C-and-Cpp Nested-If-And-Switch-Statement 04-05 min 0-10 sec 03-11-16, 1:33 p.m. ratultimung04@gmail.com

Answers:

nested if with atleast 2 or 3 levels are used generally in asynchronous counters and asynchronous digital system.
example:

if(clk=clk'event and reset=0)
{
if(q1=0 and q2=1)
y=1;
else
y=0;
}
where q1 and q2 can be the output present states of 2 flip flops connected asynchronously and the final output y is dependent on the flip flops like the nested branches.
09-12-16, 1:10 p.m. aashishgogna


Log-in to answer to this question.