Turbo C Basics

3 Questions | Total Attempts: 542

SettingsSettingsSettings
Please wait...
C Programming Quizzes & Trivia

This is a Turbo C Quizzes. This can be used as a CLSTI reviewer for the TESDA-Programming NC IV exam for Procedural Programming.


Questions and Answers
  • 1. 
    Given the source code below, please select the correct output of the program./* SOURCE CODES */#include void main(){clrscr();printf("Hello CLSTI!!!");getch();}
    • A. 

      Hello

    • B. 

      Hello CLSTI!!!

    • C. 

      Hello CLSTI

    • D. 

      "Hello CLSTI!!!"

  • 2. 
    The C library routine that reads data from the standard   input stream stdin into the locations given by each entry   in its argument list.  The first argument is a format string   which controls interpretation of the input and each subsequent   argument points to a variable with a type that corresponds to   a type specifier in the format-string.
    • A. 

      Printf

    • B. 

      Scanf

    • C. 

      Getch

  • 3. 
    It waits untill it gets an input thats why it can be used as a screen stopper.
    • A. 

      Printf

    • B. 

      Scanf

    • C. 

      Getch