• info@avatto.com

  • +91-9920808017

    Follow Us :
  • Login / Register
Avatto
  • ABOUT EXAMS
    • UGC NET Exam
    • Commerce Exams
    • GATE Exams
    • About CTET
    • NATA
    • ACET

Programming in C - I/O Operations

Avatto > > UGC NET COMPUTER SCIENCE > > PRACTICE QUESTIONS > > Programming Languages and Computer Graphics > > Programming in C > > I/O Operations

56. Find output of following :
int i=5;
do{putchar(i+100);printf("%d",i--);}
while(i);

  • A

    i5h4g3f2e1

    right wrong
  • B

    14h3g2f1e0

    right wrong
  • C

    An error message

    wrong right
  • D

    Infinite Loop

    right wrong
  • Answer
  • Comment
    •   
    Array
  • Option : A
  • Explanation :
Cancel reply

You must be logged in to post a comment.

Cancel reply

You must be logged in to post a comment.

57. The for statement can precede a loop to be executed 50 times or till a boolean variable "found" become false is given by

  • A

    for(i=0; i<=50 ll found==false; i++)

    right wrong
  • B

    for(i=0; i<50 ll found==true; i++)

    right wrong
  • C

    for(i=1;i<=50 && found==true; i++)

    wrong right
  • D

    Error

    right wrong
  • Answer
  • Comment
    •   
    Array
  • Option : A
  • Explanation :
Cancel reply

You must be logged in to post a comment.

Cancel reply

You must be logged in to post a comment.

Page 12 of 12« First«...89101112
ads
  • Computer System Architecture
  • Theory of Computation and Compilers
  • Data Communication and Computer Networks
  • Database
  • Data Structures and Algorithms
  • System Software and Operating System
  • Software Engineering
  • Discrete Mathematics
  • Programming Languages and Computer Graphics
      • Computer Graphics
      • Programming in C
        • Arays
        • Constants, Variables and Data Types
        • Decision Making and Looping
        • File Management
        • Functions and Recursions
        • I/O Operations
        • Operators and Expressions
        • Pointers
        • Structure and Union
        • Master Assignment
      • Object Oriented Programming
      • Web Technology
    • Artificial Intelligence
    • Soft Computing
    Related Quiz.
    I/O Operations

    Login with Facebook

    Login with Google

    About
    • About Us
    • Contact Us
    CATEGORIES
    • ACET
    • CS Foundation
    • Data Science
    • Deep Learning
    • CMAI Foundation
    • Machine Learning
    Terms
    • Privacy Policy
    • Return Policy
    • Disclaimer
    • Feedback

    Copyright © 2026 ™ is a registered trademark

    • Sign in
    • New account

    Forgot your password?

    Lost your password? Please enter your email address. You will receive mail with link to set new password.

    Back to login