Pointers
closed

closed by
303 views
1 votes
1 votes
closed as a duplicate of: Programming
#include<stdio.h>

int main()

{

char A[5][7][6];

char *p[5][7][6];

printf("%d\t", (unsigned)(A+1)-(unsigned)A);

printf("%d", (unsigned)(p+1)-(unsigned)p);

}

What will be the output ??

1. 42 ,42

2. 42,336

3. 336,42

4. 1,1
closed by

Related questions

3 votes
3 votes
1 answer
1
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
3
Manoj Kumar Pandey asked May 22, 2019
819 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...