大学生毕业面试嵌入式软件面试题.docVIP

  • 13
  • 0
  • 约4.05千字
  • 约 6页
  • 2018-01-01 发布于河南
  • 举报
大学生毕业面试嵌入式软件面试题

大学生毕业面试嵌入式软件面试题 int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf(First output:%dn,x); x++; changevalue(x); printf(Second output:%dn,x); modifyvalue(); printf(Third output:%dn,x); } Answer: 12 , 13 , 13 What will be printed as the result of the operation below: main() { int x=10, y=15; x = x++; y = ++y; printf(“%d %dn”,x,y); } Answer: 11, 16 What will be printed as the result of the operation below: main() { int a=0; if(a==0) printf(“Cisco Systemsn”); prin

文档评论(0)

1亿VIP精品文档

相关文档