Hey Mates
please please Help Me
Tomorrow is my exam please Help Me
So the Questions are as follows:
(a) Difference Between Finite and Infinite Loop(QB64)
(b)Difference Between For......Next and Nested
Answers
Answered by
0
a) finite loop has a limit, it stops after a specified number of times.
infinite loop has limitless it never stops until we stop our program
Answered by
1
a) finte loop :- where loop is going to some certain time as u defined in condition
eg for(i=0;i<10;i++)
some all like code is finite loop
infinite loop:- where number of loop is not define
eg
while(true)
for(; ;) all of code like this will execute till infinite time ..
generally infinite loop are uses for virus purposes.. coz it will effect on ram ..
b) hey mate i dont know about next
nested loop:-
where we r defining another for loop in one for loop its known as nested for loop
eg :-
for( )
{
for( )
{
}
}
aarushirastogi3704:
thanks mate ☺️✌️
Similar questions