main
{
int a=40;
printf ("%d",a);
}
what is the output of this problem.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted May 22, 2013, 11:47 PM
hi,
Agree with Vulpes.
it give syntax error because same variable "a" is declare.
#define a 10
main
{
int b=40;
printf ("%d",a);
printf ("%d",b);
}
hope this will help you.
VulpesPosted May 22, 2013, 1:02 PM
It's full of syntax errors and won't compile.