Demo C programming

Quiz
•
Computers
•
Professional Development
•
Easy

Hemant Kumar
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What will the following code snippet display?
int x = 10;
printf("%d", x);
10.0
"10"
10
Error
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which data type is used to store whole numbers in C?
char
double
int
float
3.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the purpose of the printf function in C?
To read user input
To print text on the screen
To declare variables
To create loops
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the main advantage of using functions in C?
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the purpose of the return statement in a function in C?
6.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which of the following is not a valid C keyword?
7.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which header file should you include in a C program to use the printf and scanf functions?
string.h
conio.h
math.h
stdio.h
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
BrightChamps Technical Round - C language

Quiz
•
Professional Development
11 questions
Java Fundamentals

Quiz
•
Professional Development
15 questions
C Module 1 Quiz

Quiz
•
Professional Development
10 questions
Unity & C-Sharp Quiz

Quiz
•
Professional Development
10 questions
pemrograman dasar

Quiz
•
Professional Development
15 questions
Python Skills

Quiz
•
1st Grade - Professio...
9 questions
C# Programming Functions and Procedures

Quiz
•
Professional Development
15 questions
Code X Trade

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade