+ 5
Why isn't output coming?
swapping program https://code.sololearn.com/ceek43rKIoTL/?ref=app
3 odpowiedzi
+ 3
You did not put the format specifiers in the printf string.
Correct code is:
printf("values after swapping : %d %d",a,b);
Format specifiers are used to let the computer know which data type should be printed in this case.
+ 3
sorry, my mistake I forgot to and thks :-)
+ 1
The second print statement
You forgot %d...
printf("values after swapping : %d %d",a,b);