289 views
0 votes
0 votes

https://gateoverflow.in/8283/gate2015-1-35

how x+3 and *(x+3) printing the same output

1 Answer

0 votes
0 votes
X+3 is the address of 4th 1-d array, while.   ( *(x+3) +0) is the address of first element of the 4th 1-d array, they both refers to the same address.

Related questions

2 votes
2 votes
1 answer
1
cocgame asked Jan 5, 2019
3,846 views
Let the random variable X represent the number of times a fair coin needs to be tossed till two consecutive heads appear for the first time. The expectation of X is _____...
0 votes
0 votes
1 answer
2
suparna kar asked Aug 17, 2018
2,599 views
The two eigen values of the matrix $\begin{bmatrix} 2 & 1\\ 1& p \end{bmatrix}$ have a ratio of 3:1 for p= 2.What is another value of p for which eigenvalues have the sam...
0 votes
0 votes
2 answers
3
himgta asked Sep 4, 2018
1,589 views
https://gateoverflow.in/204103/gate2018-29?show=204103#q204103in this question wht is passed in function 1.....what actually 1st function is doing?
0 votes
0 votes
0 answers
4
himgta asked Sep 4, 2018
386 views
https://gateoverflow.in/204076/gate2018-2Why the answer is A,Why not D?