Vote count:
-1
here the value of local variable temp is not used,this code was done in eclipse // My code
int temp = n;
while(n > 0)
{
r = n % 10;
temp = n / 10;
if(r!= 0 && r!= 1)
{
asked 1 min ago
1 Answer
Vote count:
0
It's not used, it's only assigned. Since it's not used, it can be eliminated.
However, it's just a warning.
answered 7 secs ago
the value of local variable temp is not used
Aucun commentaire:
Enregistrer un commentaire