Sign in
Please select an account to continue using cracku.in
↓ →
Study the following programme
// precondition : x >= 0
public void demo(int x)
{
System.out.print(x %10);
if( (x /10)! = 0)
{
demo(x / 10);
}
System.out.print(x % 10);
}
Which of the following is printed as a result of the call demo (1234)?
Create a FREE account and get:
Book Free CAT Mentorship
Get personalized CAT strategy from a 99%iler
500+ students mentored
OTP Verification
Enter the 6-digit code sent to your phone
Booking Summary
Enter OTP
Didn't receive the OTP?
Educational materials for CAT preparation