aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Programming and Data Structures - GATE Practice
  • Consider the following C program ![](https://i.imgur.com/...
Multiple choice

Consider the following C program

The program computers

  1. x$\div$y, using repeated subtraction
  2. x mod y using repeated subtraction

  3. the greatest common divisor of x and y

  4. the least common multiple of x only

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Keep practicing — related questions

  • If the greatest common factor (GCF) of two numbers is one of those numbers then their least common multiple...
  • Which internet service provides a feature of log on a remote computer and user programs installed on the re...
  • Which of the following statements is/are true? a. Due to gravity the air at the surface is denser and hence...
  • Which of the following statements about wind is/are correct? a. Air is set in motion due to differences in ...
  • Which of the following is/are not true about the tropical cyclones? a. The air pressure near the storm caus...
  • Which of the following Extreme Programming (XP) practices states that every project contains a system of na...
  • Which of the following is not a restriction in Posing in Objective-C?
  • Which of the following is an incorrect statement about NSSet in Objective C?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Output Evaluation (1721 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy