No you don't. GCC does not like exactly what you showed us.
Code:
C:\Users\Josh2>more veera.c
Int a=5;
Printf (" %d",a)-1;
Scanf("%d",&a)-1;
Printf (" %d",a)-1;
C:\Users\Josh2>gcc veera.c
veera.c:1:1: error: unknown type name 'Int'
veera.c:2:9: error: expected declaration specifiers or '...' before string const
ant
veera.c:2:15: error: expected declaration specifiers or '...' before 'a'
veera.c:3:7: error: expected declaration specifiers or '...' before string const
ant
veera.c:3:12: error: expected declaration specifiers or '...' before '&' token
veera.c:4:9: error: expected declaration specifiers or '...' before string const
ant
veera.c:4:15: error: expected declaration specifiers or '...' before 'a'
Which means you typed what you thought was the code from memory.
And, even assuming the best code, turning warnings on produces the following:
Code:
C:\Users\Josh2>more veera.c
#include <stdio.h>
int main()
{
int a=5;
printf (" %d",a)-1;
scanf("%d",&a)-1;
printf (" %d",a)-1;
return 0;
}
C:\Users\Josh2>gcc -Wall veera.c
veera.c: In function 'main':
veera.c:5:19: warning: value computed is not used [-Wunused-value]
veera.c:6:17: warning: value computed is not used [-Wunused-value]
veera.c:7:19: warning: value computed is not used [-Wunused-value]
Many compilers, unfortunately, arent configured to be this stringent by default. I suspect vendors do this on purpose in order to make compiler options useful. Learning how to use your IDE or compiler options is important.