which one of the following will declare a pointer to an interger at address 0x200 in memory?
which one of the following will declare a pointer to an interger at address 0x200 in memory?
A .int *x=0x200; B.int *x=&0x200; C.int *x=*0x200; D.int *x(0x200)
A .int *x=0x200; B.int *x=&0x200; C.int *x=*0x200; D.int *x(0x200)
英語人氣:865 ℃時間:2020-05-22 08:23:43
優(yōu)質(zhì)解答
答案:C能解釋一下嗎?問題的意思是:聲明一個指針變量,取值為地址0x200中的一個整數(shù) int *x聲明一個int*指針 而int*x=*0x200相當于int*x=*(int*)0x200,即取地址0x200中的值并賦值給變量x
我來回答
類似推薦
- which one of the following will declare a pointer to an integer at address 0x1200 in memory
- which of the following events will cause a surplus of workers?
- which of the following is ture?翻譯并說明為什么用which of 和following 在這解釋為什么
- Which of the following is TRUE
- if "X" is an integer,which of the following will produce an odd number?A.3x² +1 B.x²+2x
- 3的平方-1的平方=8×1,5的平方-3的平方等于8×2,7的平方-5的平方=8×3,9的平方-7的平方=8×4,用代數(shù)式表示這個規(guī)律,并計算2001的平方-1999的平方的值.
- 一個兩位數(shù)的個位數(shù)與十位數(shù)之和為12,其中個位數(shù)字為a則這個兩位數(shù)是:
- 近代以來中國婚姻觀念的變化
- 古詩《過零丁洋》中,作者聯(lián)寫了個人和國家哪兩件大事
- absolutely
- I am reading an English story,[ ] my sister is watching tv.這里填什么連詞 為什么?
- 七年級所有古詩詞
猜你喜歡
- 1第一個社會主義國家的建立有什么歷史意義?
- 2因式分解:(1) 12a²b(x-y)³-4ab(y-x)² (2) (a²-4a)²+(3a-12)²
- 3一筐蘋果6個一拿剩4,7個一拿剩5,8個一拿剩6這筐蘋果至少有幾個如果大約有500多個那么有幾個
- 4求小學語文《激動人心的時刻》說課稿.及課件.
- 5用描述法表示下列集合:{3,9,27,81,…}
- 6求直線y=5x+3關于直線y=-x對稱的直線的函數(shù)解析式
- 7一架長為十米的梯子AB斜靠在墻上 梯子的頂端距地面的垂直距離為8米 梯子下滑多少米 頂端下滑距離=底端下滑距離
- 8用無窮小定義證明:當x趨向于3時,f(x)=(x-3)/(x+1) 是無窮小 (用無窮小定義證明!)
- 9risk doing與risk to do
- 10新冷媒和氟里昂 這2種制冷劑有什么區(qū)別?哪個好?好在哪里
- 11為什么內(nèi)質(zhì)網(wǎng)的膜不能合成ATP?
- 12500千克加700千克是大于1噸還是小于或等于