452 views
1 votes
1 votes

1 Answer

0 votes
0 votes
why  &a+1 it can point to 2 element in the array I mean  A[1] as &a gives base address and &a+1 gives second element address

type casting to integer is not required???

Related questions

3 votes
3 votes
0 answers
1
nishitshah asked Jan 26, 2018
642 views
Answer given is option C. How ?I gather that the character pointer will point to the first byte of the integer whose value is 255.But after that what should be the soluti...
3 votes
3 votes
1 answer
2
Storm_907 asked Apr 16, 2023
461 views
Please explain this question void main() { int a =300; char *ptr = (char*) &a ; ptr++; *ptr=2; printf("%d" , a); }
4 votes
4 votes
4 answers
4
Manoj Kumar Pandey asked May 22, 2019
818 views
https://gateoverflow.in/?qa=blob&qa_blobid=14433986388826671915int main() { int a = 10; int *b = &a; scanf("%d",b); printf("%d",a+50); }What will be the Output of the fol...