Posts by Samuel_Rocha • 85 points
3 posts
-
3
votes1
answer118
viewsQ: A variable without assigning value accesses the variable value in another function
I have a Programming Language activity to do, whose code is done in the C language, and in this question, the question is: What will be the return of this code and why? I didn’t understand why one…
-
4
votes1
answer666
viewsQ: Generate random number between -99 and 99
I’m having some difficulty here in my code which is the following, I know that to generate random numbers between 0 and 9 is - x = rand() % 10. So now I wanted to generate numbers between -99 and…
-
0
votes1
answer3481
viewsQ: Failure to read char with scanf ("%c")
Check this code to register two random matrices and then add, multiply... I want to put an option that every operation made the user has the option to quit the program, without going back to the…