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:How about (++a - ++a), whose behavior is not even defined in the ANSI C standard?

Posted by champ at 2007-08-10 11:56:08 on Problem 3337
In Reply To:Re:How about (++a - ++a), whose behavior is not even defined in the ANSI C standard? Posted by:daguoli at 2007-08-10 11:29:32
GCC:
a=1;
c=++a-++a;
printf("%d,%d",c,a);

OUTPUT:
0,3

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