• edited by
471 views

1 Answer

3 3 votes
p points to $\operatorname{arr}[2]$, which is $30, \mathrm{p}-1$ points to $\operatorname{arr}[1]$, which is 20 .
• reshown by
Answer:
Position:
Show:

Related questions

4 4 votes
2 2 answers
599
599 views
GO Classes asked Jul 19, 2025
599 views
Consider the following structure on a $32$ -bit machine ( $4$ -byte alignment for int, char alignment is $1$ byte):struct test { char a; int b; char c; };What is the size...
5 5 votes
1 1 answer
657
657 views
GO Classes asked Jul 25, 2025
657 views
Which of the following expressions is NOT equivalent to ${ }^*(\operatorname{arr}+3)$ where arr is an integer array?$\operatorname{arr}[3]$ *(&arr $[0]+3)$ $* a r r+3$ $*...
7 7 votes
4 4 answers
773
773 views
GO Classes asked Jul 19, 2025
773 views
int arr[ ]={1, 2, 3, 4} int count; incr( ) {return ++count;} main( ) { arr[count++]=incr( ); printf("arr[count]=%d\n", arr[count]); }The value printed by the above progra...
6 6 votes
6 6 answers
876
876 views
GO Classes asked Jul 19, 2025
876 views
What is the output of the following program: (Assume that the appropriate preprocessor directives are included and there is not syntax error) main( ) { char S[]="ABCDEFGH...