Mery khayal min ap ko ye smj ni aya k us ny cout min print kesy kia gia First we will understand int number[5] Int.........data type number........ array name [5]........array size And {10,20,30,40,50} are just numbers like 0,1,2,3,4 And *(number+3) is pointer "*ptr" ptr just pointout the value In this case *(number+3)is point the fourth element in array size which is 40.
Masha Allah
Good 👍 References
Thanks 👍
Agr array ka size byte m pocha jay to KeSy btaen gay?
I think 4 bytes
Baqi ap confirm kr lein
mcqs number 5 smjh nh aya sahi se smjha dein pls
Mery khayal min ap ko ye smj ni aya k us ny cout min print kesy kia gia
First we will understand
int number[5]
Int.........data type
number........ array name
[5]........array size
And
{10,20,30,40,50} are just numbers like 0,1,2,3,4
And
*(number+3) is pointer "*ptr"
ptr just pointout the value
In this case
*(number+3)is point the fourth element in array size which is 40.