0
Can we initialise a variable inside the body of the while loop?
If yes, can it be used after the loop is completed?
2 Réponses
0
if condition does not use the variable it is fine else there will be a dump..
0
you need to declare the data type of the variable before the loop. then inside the loop, you can initialize it. yes it can be used after the loop is completed.