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

Hưng Công

New member
#include <stdio.h>
#include <conio.h>
int main()
{
int a[3][4] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 };
printf("%u, %u, %u\n", a[0]+1, *(a[0]+1), *(*(a+0)+1));
getch();
}</blockquote>
What is output? (assuming that the array begins at the location 1002 and size of an integer is 4 bytes)
A. 1006, 2, 2
B. 1006, 4, 4
C. 1002, 5, 5
D. Error
 

NC Hùng

New member
Hướng dẫn
Chọn A là đáp án đúng