c语言高级面试题.docVIP

  • 61
  • 0
  • 约1.05万字
  • 约 21页
  • 2015-09-25 发布于重庆
  • 举报
c语言高级面试题

整个测试遵循以下的约定: ??????? 假定在所有的程序中必须的头文件都已经被正确包含。 考虑如下的数据类型: ??????? char 为1个字节 ??????? int 为4个字节 ??????? long int 为4个字节 ??????? float 为4个字节 ??????? double 为个8字节 ??????? long double 为 8个字节 ??????? 指针为4个字节 ? ? 1. Consider the following program: #includesetjmp.h static jmp_buf buf; ? main() { volatile int b; b =3; ? if(setjmp(buf)!=0) { printf(%d , b); exit(0); } b=5; longjmp(buf , 1); } The output for this program is: (a) 3 (b) 5 (c) 0 (d) None of the above 2. Consider the following program: main() { struct node { int a; int b; int c; };

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档