关于西建大晚睡熄灯利弊的调查-bostonuniversity.pptVIP

  • 3
  • 0
  • 约2.2千字
  • 约 11页
  • 2017-10-16 发布于天津
  • 举报

关于西建大晚睡熄灯利弊的调查-bostonuniversity.ppt

关于西建大晚睡熄灯利弊的调查-bostonuniversity

Computer Science, Boston University Functions Program Structure CAS CS210 Ying Ye Outline Functions Header files Recursion PA2 Functions Fixed length arguments int x = 1, y = 2; func(x, y); int func(int a, char b){ ......; int temp = a + b; ......; } Functions Variable length arguments int x = 1, y = 2; printf(%d %d\n, x, y); int printf(const char *format, ...){ ... } what is the length of arguments when called? check format, e.g. %d %d\n means 2 additional arguments how to access arguments? assembly code: disp(%ebp) e.g. 12(%ebp) and 16(%ebp) Header files Usually

文档评论(0)

1亿VIP精品文档

相关文档