| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
Re:*(&m + 0x8)------>waIn Reply To:*(&m + 0x8)------>wa Posted by:jimi at 2007-11-19 14:38:23 出这种笔试题的HR不如辞职算了
> #include<stdio.h>
>
> void add(void)
> {
> int m, a, b;
>
> scanf("%d %d",&a, &b);
>
> *(&m + 0x8) = a + b;/* 流行的笔试题目 */
>
> }
>
> int main(void)
> {
> int m;
>
> add();
> printf("%d\n",m);
>
> return 0;
> }
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator