單項(xiàng)選擇題

Consider the following correct segment of a correct C program: p = 2; while (p < 2000) { p = 2 * p; }What is the value of p after this while loop completes its execution()

A.1023
B.1024
C.2047
D.2048
微信掃碼免費(fèi)搜題