
C Programming Quiz
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
JEEVAN KUMAR
Used 3+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to declare an integer variable in C?
int a;
integer a;
var a;
int a()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid data type in C?
float
double
real
char
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
#include <stdio.h>
int main() {
printf("%d", 5 + 3 * 2);
return 0; }
16
11
8
10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to access the value at the address stored in a pointer?
&
*
->
.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an int data type on a 32-bit system?
2 bytes
4 bytes
8 bytes
Depends on the compiler
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to declare a function in C?
void myFunction() {}
function myFunction() {}
myFunction void() {}
void myFunction {}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the break statement do in a loop?
Terminates the program
Exits the loop immediately
Skips the current iteration
Restarts the loop
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Quizz Compition Round 16(Fundamental Mix Part 8)
Quiz
•
Professional Development
25 questions
python if-elif-else
Quiz
•
Professional Development
25 questions
CN-First Test
Quiz
•
Professional Development
25 questions
Ethereum Devcon Quiz - 1
Quiz
•
Professional Development
25 questions
AJWT MCQ Quiz
Quiz
•
Professional Development
25 questions
IT support Level-1 (MS Excel)
Quiz
•
Professional Development
25 questions
Guess the Gibberish Word
Quiz
•
Professional Development
25 questions
Тест остаточных знаний
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
