How to turn local variable defined in “for loop which is nested in if conditional” to global variable in C language?

前端 未结 0 1876
失恋的感觉
失恋的感觉 2021-01-03 15:32

if(condition)

{

 for(int i=10; i>=0 ; i--)
{
 //Wanted to change the scope of the variable "i" 
 }

}

I wan

相关标签:
回答
  • 消灭零回复
提交回复
热议问题