search
Log In

test-series [closed]

0 votes
76 views

#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);

}

  1. 42  42
  2. 1  1
  3. 42  336
  4. 336  42
closed as a duplicate of: Multidimensional Pointer Arithmetic
in Programming
closed by
76 views
0
there is pointer to 3D array but here p is a 3D array of char pointer type,both questions are diffrent

Related questions

0 votes
0 answers
1
135 views asked Oct 30, 2018 in Programming himgta 135 views
1 vote
0 answers
2
427 views
Consider an empty binary search tree of height $-1.$We need to fill the following sequence of numbers in it $: 11, 12, 13, 14, 15, 16, 17.$The number of ways in which the numbers can be inserted in an empty binary search tree, such that the resulting tree has height $6,$ is _____________ $A)2$ $B)4$ $C)32$ $D)64$
asked Oct 28, 2018 in Programming mitesh kumar 427 views
0 votes
1 answer
3
256 views asked Jan 19, 2017 in Programming shubhamdarokar 256 views
0 votes
1 answer
4
114 views asked Jan 19, 2017 in Programming shubhamdarokar 114 views
...