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 (185 points)
closed by | 26 views
+2
beautifully explained here - https://gateoverflow.in/196450/programming

Related questions

+1 vote
2 answers
7
asked Dec 18, 2017 in Programming by ashwina Active (2.1k points) | 193 views


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

42,296 questions
48,419 answers
153,542 comments
62,661 users