printf的返回值
1 #include<stdio.h>
2
3 int main()
4 {
5 int i=43;
6 printf("%d",printf("%d",printf("%d",i)));
7
8 return 0;
9 }
10
11 這是一個社區的驗證碼,讓輸出結果,很有意思。
12 結果是4321.
13 printf()的返回值:On success, the total number of characters written is returned.
14 On failure, a negative number is returned.
2
3 int main()
4 {
5 int i=43;
6 printf("%d",printf("%d",printf("%d",i)));
7
8 return 0;
9 }
10
11 這是一個社區的驗證碼,讓輸出結果,很有意思。
12 結果是4321.
13 printf()的返回值:On success, the total number of characters written is returned.
14 On failure, a negative number is returned.
posted on 2010-12-23 11:39 meglory 閱讀(357) 評論(0) 編輯 收藏 引用 所屬分類: C/C++