C
chump1708
main()
{
int i;
clrscr();
printf("%d", &i)+1;
scanf("%d", i)-1;
}
whats the output n why???
Note that there is & which means it probably prints the address of
i...n my guess is that + 1 has no effect on the output...
n regarding scanf - there is no & symbol...so still it will accept a
value but not store it in i n my guess is that -1 has no effect on the
code....
any comments....
{
int i;
clrscr();
printf("%d", &i)+1;
scanf("%d", i)-1;
}
whats the output n why???
Note that there is & which means it probably prints the address of
i...n my guess is that + 1 has no effect on the output...
n regarding scanf - there is no & symbol...so still it will accept a
value but not store it in i n my guess is that -1 has no effect on the
code....
any comments....