skip to main
|
skip to sidebar
Monday, May 31, 2010
The question in Class
Q: do not use ? and if to print a[10]={o,3,5,3,5,8,9,6,5,10} which is greater than 3 in one line.
A:
for(int i=0, i<10, i++)
a[i] >3 && printf("%d \n", a[i]);
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
ysliu2
Followers
Blog Archive
▼
2010
(3)
▼
May
(3)
The question in Class
lazy evaluation
How To Log IRC Conversations on mIRC
About Me
ysliu2
View my complete profile
No comments:
Post a Comment