该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

C89 31个,C99 127个。

ANSI C89

2.2.4.1 Translation limits

The implementation shall be able to translate and execute at least one program that contains at least one instance of every one of the following limits:

* 15 nesting levels of c0mp0und statements, iteration control structures, and selection control structures

* 8 nesting levels of conditional inclusion

* 12 pointer, array, and function declarators (in any combinations) modifying an arithmetic, a structure, a union, or an incomplete type in a declaration

* 31 declarators nested by parentheses within a full declarator

* 32 expressions nested by parentheses within a full expression

* 31 significant initial characters in an internal identifier or a macro name

* 6 significant initial characters in an external identifier

* 511 external identifiers in one translation unit

* 127 identifiers with block scope declared in one block

* 1024 macro identifiers simultaneously defined in one translation unit

* 31 parameters in one function definition

* 31 arguments in one function call

* 31 parameters in one macro definition

* 31 arguments in one macro invocation

* 509 characters in a logical source line

* 509 characters in a character string literal or wide string literal (after concatenation)

* 32767 bytes in an object (in a hosted environment only)

* 8 nesting levels for #include'd files

* 257 case labels for a switch statement (excluding those for any

nested switch statements)

* 127 members in a single structure or union

* 127 enumeration constants in a single enumeration

* 15 levels of nested structure or union definitions in a single struct-declaration-list

ISO C99

5.2.4.1 Translation limits

1 The implementation shall be able to translate and execute at least one program that

contains at least one instance of every one of the following limits:13)

— 127 nesting levels of blocks

— 63 nesting levels of conditional inclusion

— 12 pointer, array, and function declarators (in any combinations) modifying an arithmetic, structure, union, or incomplete type in a declaration

— 63 nesting levels of parenthesized declarators within a full declarator

— 63 nesting levels of parenthesized expressions within a full expression

— 63 significant initial characters in an internal identifier or a macro name (each universal character name or extended source character is considered a single character)

— 31 significant initial characters in an external identifier (each universal character name specifying a short identifier of 0000FFFF or less is considered 6 characters, each universal character name specifying a short identifier of 00010000 or more is considered 10 characters, and each extended source character is considered the same number of characters as the corresponding universal character name, if any)

— 4095 external identifiers in one translation unit

— 511 identifiers with block scope declared in one block

— 4095 macro identifiers simultaneously defined in one preprocessing translation unit

— 127 parameters in one function definition

— 127 arguments in one function call

— 127 parameters in one macro definition

— 127 arguments in one macro invocation

— 4095 characters in a logical source line

— 4095 characters in a character string literal or wide string literal (after concatenation)

— 65535 bytes in an object (in a hosted environment only)

— 15 nesting levels for #included files

— 1023 case labels for a switch statement (excluding those for any nested switch statements)

— 1023 members in a single structure or union

— 1023 enumeration constants in a single enumeration

— 63 lev els of nested structure or union definitions in a single struct declaration-list

c语言多个形参,C中子函数最多有几个形参相关推荐

  1. C语言函数最多有有多少个参数,C中子函数最多有几个形参

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 C89 31个,C99 127个. ANSI C89 2.2.4.1 Translation limits The implementation shal ...

  2. c语言中函数可以有几个参数,C中子函数最多有几个形参

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 C89 31个,C99 127个. ANSI C89 2.2.4.1 Translation limits The implementation shal ...

  3. c语言函数的形参有几个,C中子函数最多有几个形参

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 C89 31个,C99 127个. ANSI C89 2.2.4.1 Translation limits The implementation shal ...

  4. c语言函数有两个参数,C中子函数最多有几个形参

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 C89 31个,C99 127个. ANSI C89 2.2.4.1 Translation limits The implementation shal ...

  5. 快速排序 数组 函数 c语言,书上快速排序程序中子函数是怎样更改数组的?理论上不可实现啊...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 return不可能返回数组,于是子hanshu1quicksort最后没有用return,但是没有return又怎么可以更改a[N]?主函数中的quick ...

  6. 【C 语言】C 项目开发代码规范 ( 形参合法性判断 | 函数返回值局部变量 | 函数中不用全局变量 | 函数中使用局部变量接收形参 | 函数返回值 | 形参作返回值 | 形参返回值处理 )

    文章目录 一.C 项目开发代码规范 一.C 项目开发代码规范 上一篇博客 [C 语言]字符串模型 ( 键值对模型 ) 中 , 完成了字符串的 键值对 查找功能 , 代码不太规范 ; C 项目开发代码规 ...

  7. 【C 语言】字符串模型 ( 字符串翻转模型 | 抽象成业务函数 | 形参返回值 | 函数返回值 | 函数形参处理 | 形参指针判空 )

    文章目录 一.字符串翻转模型 业务函数 二.完整代码示例 一.字符串翻转模型 业务函数 将上一篇博客 [C 语言]字符串模型 ( 字符串翻转模型 ) 的代码 , 主要业务逻辑 , 抽象成函数 ; 字符 ...

  8. C语言试题五十一之已知学生的记录是由学号和学习成绩构成,n名学生的数据已存入s结构体数组中。请编写函数fun,该函数的功能是:找出成绩最高的学生记录,通过形参返回主函数(规定只有一个最高分)。

    1. 题目 请编写一个函数void function(Student a[], int n, Student *s),其功能时:已知学生的记录是由学号和学习成绩构成,n名学生的数据已存入s结构体数组中 ...

  9. c语言函数变量地址符,C语言中取地址符做函数形参?—— 引用的讨论

    取地址符&做函数形参? C语言强大且危险 引入 这个问题花去了整整一天的研究. 先看一段严蔚敏的<数据结构>中栈的例程: 这里面的&S第一遍看的时候想当然的认为是取了SqS ...

最新文章

  1. 反转比特位(文章最后有干货)【转】
  2. mysql 5.6多实例_MySQL 5.6.x多实例配置
  3. 改用C++生成自动化数据表
  4. 剑破冰山—Oracle开发艺术 前言
  5. 第二章:2.2 LTI系统解的分析
  6. 揭秘:神策数据产品矩阵,全方位筑就你的数据驱动闭环
  7. 作者:​高晨旭(1990-),男,北京系统工程研究所研究实习员。
  8. php分割文本读入数组,PHP fgets按行读取字符串和explode分割字符串为数组
  9. spark 读取多个路径_spark
  10. CCF201409-3 字符串匹配(100分)
  11. bug篇——mysql版本不支持group by分组
  12. 【2020牛客寒假基础算法训练营】第五场总结
  13. VOLTE呼叫流程介绍
  14. 聊聊JVM——类的加载(一)
  15. canvas绘制圆形头像
  16. mysql 时间到年月日时分秒_请问如何将从mysql中读取的时间转变为年月日-时分秒的格式啊?...
  17. 实验题目:约瑟夫环问题:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,m为任意一个正整数。从第一个人开始顺时针方向自1起顺序报数,报到m时停止并且报m的人出列,再从他的下一个人
  18. 展讯7731C_M Android6.0 充电指示灯实现(一)------关机充电实现【转】
  19. Java——LocalDateTime
  20. 微信加粉啦 - 微信加粉统计管理的解决方案;

热门文章

  1. 实例52:python
  2. stylus之选择器(Selectors)
  3. 剑指offer--打印1到最大的n位数
  4. 前端开发怎么用php,做web前端开发怎么样?
  5. egg.js java 生产数据_eggjs中,自动从数据库直接生成model.
  6. ref是什么意思_终于有人说出A股不敢说的话:为什么股价不断下跌,大单却持续流入,你知道是什么缘由吗?...
  7. java 文件的编码 问题
  8. Linux中fork的秘密
  9. IOS 开发中 Whose view is not in the window hierarchy 错误的解决办法
  10. 什么是Ext(ExtJs)【转载】