Created
November 20, 2018 17:45
-
-
Save dbc2201/a4f80e7f8bbcdda92cfc419624cb9453 to your computer and use it in GitHub Desktop.
GLA-BCSC0001-2018:Worksheet1:Question4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int a = 1; | |
if (a); | |
{ | |
printf("hello"); | |
} | |
else | |
{ | |
printf("world"); | |
} | |
return 0; | |
} |
Syntex error in" if "statement (;)
I regret to inform you that there is no syntax error in theif
statement.
You can find the explanation for this in the Issue #7 of the official BCSC0001 Repo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Syntex error in" if "statement (;)