This is the what u want according to me
#include<iostream>
int a,b;
void main()
{
a=2;
b=3;
int c;
c=a+b;
printf("the value of c is %d",c);
}
mistake's::::::
int(int a,int b); //here we trying to create global's variables just do as
//" int a,b;"
int main() //man function start...
{
int a=2; // error here multitime declaration & assigning the value of a
int b=3; // error here multitime declaration & assigning the value of b
int c; //creating a local variable c
c=a+b; // compound expration for addition of a and b then assigning value // to c
printf('the value of c is'); //here in printf expretion we use " insted of ' also u need to print //the value of c which is ("%d",c)
}
/*
we use ' for the assigning a character to char type variable
if we use int main then we must return a value in the end of the function
*/