closed by
445 views
0 votes
0 votes
closed as a duplicate of: GATE CSE 2015 Set 1 | Question: 35
Find the output of a program, address of x is 2000(in decimal) and an integer requires 4 bytes of memory.

#include<stdio.h>
int main ()
{
 unsigned int x[4][3]={{1,2,3},{4,5,6},{7,8,9},{10,11,12}};
 printf("%u, %u, %u", x+3, *(x+3), *(x+2)+3);
}

a)2036, 2036, 2036

b)2012, 4, 2204

c)2036, 10, 10

d)2012, 4, 6
closed by

Related questions

0 votes
0 votes
1 answer
1
Parshu gate asked Nov 19, 2017
376 views
#include<stdio.h>int main(){ int a=2;if(a==2){ a=~a+2<<1; printf("%d",a);}}
1 votes
1 votes
1 answer
2
Archies09 asked Apr 23, 2017
3,262 views
What will be the output of the program?#include<stdio.h int addmult(int ii, int jj) { int kk, ll; kk = ii + jj; ll = ii * jj; return (kk, ll); } int main() { int i=3, j=4...
5 votes
5 votes
2 answers
3
Mandeep Singh asked Oct 22, 2016
18,304 views
#include <stdio.h int main() { int y = 2; int z = y +(y = 10); printf("%d\n", z); }