I have a simple question.
Suppose we have to input a no. bu using "scanf()".
Can we input negative nos. in this case.
In this simple program can we input negative numbers in the output window.Code:
printf("enter the number");
If yes then how.
For negative numbers we will have to input "-" sign, how can we input it during the execution of the program.