Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing Semi-colons in C
#1
Forgetting to add a semicolon at the end of a statement can lead to compilation errors.

// Incorrect
int x = 10
int y = 20

// Correct
int x = 10;
int y = 20;
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)