closed by
404 views
0 votes
0 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);
}

 

OPTIONS:

  1. 42         42
  2. 1             1
  3. 42       336
  4. 336       42
closed by

Related questions

420
views
1 answers
0 votes
Gurdeep Saini asked Jan 28, 2019
420 views
when i printing x it is giving 0 but when comparing x with 5 ,it executing else part ,means condition fail ,why ??#include <stdio.h int main(void) { int x; if(x=(printf("...
1.8k
views
3 answers
2 votes
Gurdeep Saini asked Jan 14, 2019
1,843 views
#include <stdio.h>int arr[] = { 10, 20, 30, 40, 50 };static int count ;inc() {return ++count;}int main(){arr[count++]=inc();printf("%d ", arr[count]);printf("%d ", arr[0]...
493
views
2 answers
1 votes
rahul sharma 5 asked Dec 14, 2016
493 views
For n=2 the P is coming as 3,but none of the option is satisfying?
173
views
0 answers
0 votes
Mrityudoot asked Feb 26
173 views
Trying out a code to get all the possible marks that can be obtained in a GATE paper.Assumptions taken : 1) All questions are MCQs (all questions have a chance of negativ...