C Language: Conditional Statements And Operators - Online Test
Test Difficulty Level: Medium
Syllabus of Test
C Language: Question based on Conditional Statements as - If, Else. Operators as - Greater Than, Less Than, Equal To etc.
Sample Question from this online test:
Question: main( )
{
int a = 3, b, c ;
if ( a <= 4 )
b = 3 ;
c = 2 ;
printf ( "\n%d %d", b, c ) ;
}
Option A: 3 2
Option B: 2 3
Option C: any garbage value 2
Option D: none
To answer, click the "Start This Test" button below.
Start this Test
Related Online Tests:
Comments
![]() | gaurav khanna on 2009-09-13 13:00:19 wrote, some ans are wrong Q1,Q3,Q5.................... |
![]() | darpan triboan on 2010-12-08 09:37:18 wrote, Some ans are wrong.... |
![]() | dharm veer on 2011-04-05 17:40:59 wrote, some ans are wrong right ans is here----> |
![]() | bysani nalini on 2011-04-11 04:34:25 wrote, most of answers are wrong please replace that |
![]() | sasikumar r on 2011-04-23 05:34:31 wrote, Dear Vinit |
![]() | jaya talreja on 2011-06-04 09:29:26 wrote, hey |
![]() | suri kumar on 2011-08-14 09:15:57 wrote, so many answers are wrong |
![]() | Ramnath J on 2012-01-01 01:06:00 wrote, Many answers seem 2 be wrong |



