You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-05-25 09:49:22
Output Of The Program?
Question:
What is the output of the following code?
# define i 20
main()
{
printf("%d..",i);
fun();
printf("%d",i);
}
void fun()
{
#undef i
#define i 30
}
Option A):
Error
Option B):
0
Option C):
20..30
Option D):
20..20
Correct Answer is Option D):
20..20
Failure is the first step towards seccess.
Offline
2015-05-25 09:49:22
- Advertisement
- Ads By Google
Re: Output Of The Program?
\n
Pages:: 1