I trying to read two variable on one line bue i cant figure how.
Here is a example of what im trying to do
Code:scanf("%d %d", &i &j); // Example output: 25 45
This is a discussion on Read two variable on one line within the C Programming forums, part of the General Programming Boards category; I trying to read two variable on one line bue i cant figure how. Here is a example of what ...
I trying to read two variable on one line bue i cant figure how.
Here is a example of what im trying to do
Code:scanf("%d %d", &i &j); // Example output: 25 45
What about the missing comma?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.