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

#Cplusplus
#Cpppolls
#Programming

A
20%
B
46.7%
C
26.7%
D
6.7%
Poll ended at .

@shafik

Yeah dunno