What is the first line of a C program that includes the standard I/O library?

Lab 2 Activity

Quiz
•
Other
•
University
•
Medium

Saif Eldeen Radwan
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a basic component of a C program?
Preprocessor commands
Functions
Variables
HTML tags
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for declaring an integer variable in C?
int var;
integer var;
var int;
variable int;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store floating-point numbers in C?
int
char
float
void
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following statement?
printf("Hello World!");
HelloWorld!
Hello World!
"Hello World!"
Compilation Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which format specifier is used to read an integer input in C?
%d
%c
%f
%s
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of a signed 2-byte integer in C?
0 to 65535
-32768 to 32767
-65535 to 65535
-127 to 128
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
funciones en c++

Quiz
•
University
15 questions
DEPTH DIVE

Quiz
•
University
15 questions
Arrays

Quiz
•
University
11 questions
Junk Genius

Quiz
•
University
13 questions
Java Programming Quiz

Quiz
•
University
12 questions
Intro C++

Quiz
•
University
15 questions
Day - 3 Workshop quiz

Quiz
•
University
10 questions
Bài tập biến mảng

Quiz
•
1st Grade - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade