The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x

Pointers [closed]

+1 vote
26 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);

}

What will be the output ??

1. 42 ,42

2. 42,336

3. 336,42

4. 1,1
closed as a duplicate of: Programming
asked in Programming by (155 points)
closed by | 26 views
+2
beautifully explained here - https://gateoverflow.in/196450/programming


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

39,584 questions
46,707 answers
140,136 comments
57,865 users