Advertisement
kk258966

4/23 c++練習一

Apr 23rd, 2014
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void)
  4. {
  5.  
  6.        int ko(int);
  7.        printf("函數回傳值是:%d\n",ko(6));
  8.        
  9.  
  10. printf("============================\n\n");
  11.  
  12.  
  13.     system("pause");
  14.     return 0;
  15. }
  16.  
  17. int ko(int x)
  18. {
  19.     printf("執行函數\n----------\n");
  20.  return(x);    
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement