segmentation fault using scanf with integer

后端 未结 2 1618
猫巷女王i
猫巷女王i 2020-11-27 23:53

I am getting a segmentation fault in my C code when trying to read integer input from the user with the following functon:

int userChoice = 0, tS;
float tR,         


        
2条回答
提交回复
热议问题