Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2015 Set 1
Questions

Q35

MCQ2 marks, −0.67ProgrammingMedium

What is the output of the following C code? Assume that the address of xx is 20002000 (in decimal) and an integer requires four bytes of memory.

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);
}
Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.