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


Messages In This Thread
Missing Semi-colons in C - by Qomplainerz - 07-26-2023, 07:06 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)