Basics Of C Language: Test 7 - Online Test
Test Difficulty Level: Medium
Syllabus of Test
Sample Question from this online test:
Question: #include<stdio.h>
int main(){
int a=0;
#if (a==0)
printf("Equal");
#else if
printf("Not equal");
#endif
return 0;
}
Option A: Equal
Option B: Not equal
Option C: Compilation error
Option D: Garbage
To answer, click the "Start This Test" button below.
Start this Test
Related Online Tests:
- C Language: Control Instructions
- Datatypes- The Building blocks
- Basics of C language: Test 7
- Basics of C Test 4
- The Preprocessor
- C: Library Functions & Control Structures
- C Language: Conditional Statements
- C Language: Control Statement
- C Language: Conditional Statements and Operators
- C Language: Introductory Test 2
Comments
![]() | karthik ravi on 2011-10-18 02:41:57 wrote, the answer for the question 13 is C not B. U have also explained the same but considered B is right answer. Please correct it... |

