Unit 2 (Programming Language).pptVIP

  • 20
  • 0
  • 约1.19万字
  • 约 69页
  • 2016-12-19 发布于湖北
  • 举报
Unit Two Programming Language Text A Functions in C Almost all programming languages have some equivalent of the function. You may have met them under the alternative names subroutine or procedure. Some languages distinguish between functions which return variables and those which dont 有些语言区分函数根据是否有返回值 C assumes that every function will return a value.If the programmer wants a return value, this is achieved using the return statement C假设每个函数将返回一个值.如果程序员希望返回值,这是通过使用返回语句实现的 If no return value is required, none should be used when calling the function.Here is a function which raises a dou

文档评论(0)

1亿VIP精品文档

相关文档