- Don't put a semicolon(';') after void main(). This will result in a compilation error.
- Pay extra care not to use capital letters except for the message written inside the printf() statement.
- The use of correct brackets is very important. The () - circular, [] sqaure, and {} curly brackets all have different meanings.
How to compile :
- Once you are done typing the program, now it is your turn to check the errors and see the output. For this , press Ctrl + F9 (for compiling) and Alt+F5 for seeing the output.
- Any change in the program must be followed by pressing Ctrl+F9 and Alt+F5 so that the changes can be seen.
0 comments:
Post a Comment