Let's take a look at a interview question, I feel wrong

xiaoxiao2021-03-06  14

The topic is:

INT * a [4]; int * p1, * p3; int b; for (int i = 0; i <4; i ) {a [i] = (int *) i;} p1 = a [1]; P3 = a [3]; b = p3 - p1; a [b] =?

This is an interview question of Beijing Subbai Digital Technology. I really don't know what is taking, and I don't say how much Warning will appear in the actual compiler. I have a problem with the last question. Asked what the address of the group pointer is? Or "* a [b] =?"? do not understand.

转载请注明原文地址:https://www.9cbs.com/read-50825.html

New Post(0)