C Programming Quiz: If statements
来源:互联网 发布:辐射44g内存怎么优化 编辑:程序博客网 时间:2024/06/05 07:51
If you haven't already done so, be sure to read through Cprogramming.com's tutorial on If statements. Otherwise, best of luck with the quiz!1. Which of the following is true?
A. 1
B. 66
C. .1
D. -1
E. All of the above
2. Which of the following is the boolean operator for logical-and?
A. &
B. &&
C. |
D. |&
3. Evaluate !(1 && !(0 || 1)).
A. True
B. False
C. Unevaluatable
4. Which of the following shows the correct syntax for an if statement?
A. if expression
B. if { expression
C. if ( expression )
D. expression ifanswer : ebac
A. 1
B. 66
C. .1
D. -1
E. All of the above
2. Which of the following is the boolean operator for logical-and?
A. &
B. &&
C. |
D. |&
3. Evaluate !(1 && !(0 || 1)).
A. True
B. False
C. Unevaluatable
4. Which of the following shows the correct syntax for an if statement?
A. if expression
B. if { expression
C. if ( expression )
D. expression ifanswer : ebac
- C Programming Quiz: If statements
- Lesson 2: If statements in C
- Do-While and if-else statements in C/C++ macros
- 4.1. if Statements(if 语句)
- 12.3.3.5 If statements
- 4.4.1.1 if-statements
- Scala if Statements
- PHP if-else-endif Statements
- codeforces 337C Quiz
- 337C - Quiz
- cf-337C Quiz
- Objective-C Blocks Quiz
- CodeForces 337C. Quiz
- CodeForces 337C. Quiz
- Why are there sometimes meaningless do/while and if/else statements in C/C++ macros?
- n C++, statements
- Hackerrank C++||Conditional Statements
- SQL Programming(3):Executing SQL Statements
- Dinic最大流模版
- Oracle Join 用法
- 我奋斗了18年才和你坐在一起喝咖啡
- Lesson 2: If statements in C
- 一句话在firefox5.0中播放视频
- C Programming Quiz: If statements
- RAC环境下Node间的数据同步和共享
- RAC object remastering ( Dynamic remastering )
- 成员初始化表
- 对linux交换分区swap的一些认识总结
- system调用命令行命令而不显示命令行窗口
- c++ 内存布局
- 深入探讨 Java 类加载器
- Android图片圆角处理