what is wrong if int p=1 is declared inside while loop
General doubt regarding initialisation and declaration
no u cant initialise it with while loop.
because then for every iteration value p will be 1.
which we dont want.
what is wrong if int p=1 is declared inside while loop
no u cant initialise it with while loop.
because then for every iteration value p will be 1.
which we dont want.