C Language: Arithmatic Operations And Data Types - Online Test

Test Difficulty Level: Medium

Syllabus of Test

C Language: Question based on Arithmatic operations and Data Types as - Addition, Multiplication, Substraction, Division, Modulus, Integers, Float, Character.

Sample Question from this online test:

Question: main( )
float a, b ;
printf ( "Enter values of a and b" ) ;
scanf ( " %d %d ", &a, &b ) ;
printf ( "a = %d b = %d", a, b ) ;

Option A: error

Option B: prints value of a and b in integer format

Option C: prints value of a and b in float format

Option D: none

To answer, click the "Start This Test" button below.

Start this Test


Arindam Dey on 2009-07-16 16:23:22 wrote,

In Question number 14,16,17,18,19 ... In the scanf statement no & is there. Which will result segmentation fault

ramkumar srinivas on 2010-02-16 13:10:19 wrote,

Awake, arise and stop not until the nano technology is reached

Arti Shinde on 2010-09-15 05:26:45 wrote,

most of the answers are given wrong

swapna khemalapure on 2011-09-08 11:31:41 wrote,

Plz check the answers

pooja sharma on 2011-12-15 12:34:22 wrote,

not so confusing. bt ans are wrong dude. plz check.