aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C Programming: Loops and Control Structures
  • In 'C' language 1%2 would result in ____________
Multiple choice

In 'C' language 1%2 would result in ____________

  1. '1'

  2. '2'

  3. '0'

  4. '0.5'

  5. '3'

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

This is the correct option as modulus function would result the remainder.

Keep practicing — related questions

  • 0.099, 0.99, 9.9, 99, 990,_______
  • The output of: 13% - 3 will be
  • What will be the result of the given code snippet in C language? main() { int x=1; clrscr(); for(;x++;x%10?...
  • What two statements are true about the result obtained from calling Math.random()? 1. The result is less th...
  • Consider the following statements: 1. Saw dust is a bad conductor of heat. 2. Water at 0o C feels colder th...
  • What will be the output of the following code snippet in C language? main() { int j=0,i; clrscr(); for(prin...
  • What will be the output of the following C code? void main() { int fact=1,i; clrscr(); for(i=2;i<=8;i++) fa...
  • Directions: For the word given above the table, match the dictionary definitions on the left (1, 2, 3, 4) w...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy