Struct value doesn't change in for loop? (It changes in current iteration but in the next one it resets) C

后端 未结 0 1378
南方客
南方客 2020-12-11 06:58

so I have a Node struct. And inside, there\'s a int locked and int dValue field. While creating n nodes, I initialize locked = 0. I in

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