# C語言題庫-080 取一個整數a從右端開始的4~7位。 【參考答案】 ``` main() { unsigned a,b,c,d; scanf("%o",&a); b=a>>4; c=(0<<4); d=b&c; printf("%o\n%o\n",a,d); } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up