Retro C++ quiz #56
Given the following in C and C++ (assume correct header is included):
int main(void) {
int n = sizeof(0)["abcdefghij"];
printf("%d\n",n);
}
Without checking, assuming LP64, what’s the result:
C | C++
=========
A. 1 | 1
B. 101 | 101
C. 1 | 101
D. 101 | 1
A
B
C
D
Poll ended at .