Consider the following C code : {int a = 5, b = 9; float r; r = b/a;} What is…

PYQ UGC NET 2008

Consider the following C code :

{int a = 5, b = 9;

float r;

r = b/a;}

What is the value of r ?

  1. A.

    1.8

  2. B.

    1.0

  3. C.

    2.0

  4. D.

    0.0

Attempted by 65 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…