Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:*(&m + 0x8)------>wa

Posted by frkstyc at 2007-11-19 15:08:17 on Problem 1000
In 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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator