ZTE interview C language questions 1

zhaozj2021-02-16  99

Sender: Thebestone (Simple Life), Word Area: C

Title: [Collection] ZTE interview C language questions

Sending station: Drinking water Source (January 20, 2002 17:201 Sunday), station letter

☆ ───────────────────────────────────── ☆ Assembly (Assembly) on November 13 Day 11:13:42 Tuesday mentioned: 〖〖〖文 文 区 区 区 区 区 区 区 所 所 所 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区 区Answer to send a letter: BBS Shuimu Tsinghua Station (Mon Nov 12 15:38:17 2001) Is there a wrong int loop; int A [5], * p; void main () {p = a; for LOOP = 0; LOOP <5; Loop ) {p ; * p = loop;}} ☆ =─────────────────────────────── ─ ─ ─ ☆ Thinker (Thinker) on November 13, 2001 11:16:15 Tuesday mentioned: loop == 4 At Offers ☆ - ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ──────────────── ☆ Legendcorba (LegendCobra) on November 13, 2001 11:27 Tuesday mentioned: Strictly, Nor is wrong. ☆ ───────────────────────────────────── ☆ Assembly (Assembly) on November 13 Day 11:29:58 Tuesday mentioned: I tried freebsd4.3 loop> = 2667 error Mandrake 8.0 loop> = 624 error Debian 2.2.19 loop> = 627 error Win2000 MSVC6 loop> = 5 error seems to check M $ Strict ☆ ───────────────────────── ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ On the 13th, 11:32:49 Tuesday mentioned: Win2000, display access memory error ☆ - ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ────────── ☆ Rabbit (Victor) on November 13, 2001 12:31:27 Tuesday mentioned: Can you tell me more about "Crossing"? ☆ - ─────────────────────── ☆ Helic November 2001 13:27:11 Tuesday mentioned: I ran over 2000, there is no problem. But the direct write pointer is always bad. Improve image * (p loop) = loop; it will compare specification. ☆ ──────────────────────── ☆ Howe (no trace) in November 2001 13:32:14 Tuesday mentioned: You have not been admitted to this program's assignment result that does not match the programmer 's origin. After compiling, run will not be wrong with the compiler. Even if it is not wrong, the last P is very It is possible to point to the address 0x4. ☆ ───────────────────────────────────── ─ ☆ Helic ) On November 13, 2001, 14:00:09 Tuesday mentioned: Will not point to 0x4. The compiler does not assign to 0 when the memory is sent to INT A [5], unless the memory is not enough. And P is pointing to this memory. I will not point to 0x4. ☆ ──────────────────────────────────────────────────────────────── 14:23:54 2001) mentioned: HEHE, it may be p = 4 or potal = 4; this depends on how the compiler places local variables in the stack.

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

New Post(0)