Time Left - 04:00 mins

RRB JE (IT) : C language + C++ language Quiz 4

Attempt now to get your rank among 261 students!

Question 1

C++, originally, was developed by

Question 2

c f r o n t

Question 3

The following program fragment

int i-1 0;

void main ( )

}

int i=20;

}

int i=30.;

cout << i << ::i;

        }

}

Question 4

Consider

int a = 6:

int b = 12:

while(a<b)

}

System . out . println (“In the loop"):

a+=2:

b—=2;

}

How many times is the phrase "In the loop" printed?

Question 5

The purpose of the following program fragment

b = c + b;

c = b - c;

b = b - c;

where c, b are two integers is to

  • 261 attempts
  • 0 upvotes
  • 4 comments
Jul 31GATE & PSU CS