sending a value to another function but not as a parameter

前端 未结 0 795
花落未央
花落未央 2020-11-27 13:02

I defined r as in the main function:

srand(time(NULL));
r = rand() %1024 + 1;

and I use r in another function I called in main function.

int make_a_guess(in         


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