#include<stdio.h>
int main();
{
int sum,no1,no2;
printf("enter the num:\n");
scanf("%d%d",&no1,&no2);
sum=no1+no2;
printf("the sum=%d",sum);
}
Guys where is the error cuz i cant find 1
--------------------Configuration: Cpp1 - Win32 Debug--------------------
Compiling...
Cpp1.cpp
C:\Documents and Settings\The Dark Sin\My Documents\Cpp1.cpp(3) : error C2447: missing function header (old-style formal list?)
Error executing cl.exe.
Cpp1.obj - 1 error(s), 0 warning(s)