548 views
0 votes
0 votes
int main()
{
    int a[10];
    printf("%d",*a+1-*a+3);
    return 0;
}

Answer is given as 4 but i think it should be 8, if int is of 4 byte. Correct me if i am wrong

Please log in or register to answer this question.

Related questions

1 votes
1 votes
0 answers
1
Shijith M asked Aug 1, 2018
798 views
int main(){ static int i=5; if( i){ main(); printf("%d ",i); }} This program answer is 0 0 0 0 .how is this? Please explain to me.
1 votes
1 votes
0 answers
2
Ashish Roy 1 asked Mar 16, 2019
1,683 views
In the above 4 Statements which would print 123 as output ? Explain also.
0 votes
0 votes
0 answers
3
Harikesh Kumar asked Dec 4, 2017
191 views
0 votes
0 votes
1 answer
4
Harikesh Kumar asked Dec 4, 2017
310 views
Count the no. Of token and also explain the token count rule?printf("i=%d,&i=%x",i&i);