Skip to content

Instantly share code, notes, and snippets.

@dbc2201
Created November 20, 2018 17:45
Show Gist options
  • Save dbc2201/a4f80e7f8bbcdda92cfc419624cb9453 to your computer and use it in GitHub Desktop.
Save dbc2201/a4f80e7f8bbcdda92cfc419624cb9453 to your computer and use it in GitHub Desktop.
GLA-BCSC0001-2018:Worksheet1:Question4
#include <stdio.h>
int main()
{
int a = 1;
if (a);
{
printf("hello");
}
else
{
printf("world");
}
return 0;
}
@rahulkumarsah108
Copy link

Syntex error in" if "statement (;)

@dbc2201
Copy link
Author

dbc2201 commented Nov 23, 2018

Syntex error in" if "statement (;)
I regret to inform you that there is no syntax error in the if 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