• edited by
449 views

1 Answer

2 2 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

3 3 votes
2 2 answers
574
574 views
GO Classes asked Jul 19, 2025
574 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...
4 4 votes
1 1 answer
632
632 views
GO Classes asked Jul 25, 2025
632 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$ $*...
6 6 votes
4 4 answers
750
750 views
GO Classes asked Jul 19, 2025
750 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...
5 5 votes
6 6 answers
845
845 views
GO Classes asked Jul 19, 2025
845 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...