
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
Create a free account and access millions of resources
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
Type data
Quiz
ā¢
Professional Development
25 questions
Maintaining Computer Systems and Networks
Quiz
ā¢
Professional Development
25 questions
CompTIA Security+ Quiz
Quiz
ā¢
Professional Development
25 questions
IoT Quiz - 1
Quiz
ā¢
University - Professi...
25 questions
Set-Up Computer Server
Quiz
ā¢
Professional Development
25 questions
IT support level-1 (MCQ-2)
Quiz
ā¢
Professional Development
25 questions
STIN (EM24) - Sistemas de Información (T1)
Quiz
ā¢
University - Professi...
25 questions
C module 1 second quiz
Quiz
ā¢
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
ā¢
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
ā¢
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
ā¢
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
ā¢
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
ā¢
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
ā¢
3rd Grade
14 questions
Christmas Trivia
Quiz
ā¢
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
ā¢
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
ā¢
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
ā¢
Professional Development
20 questions
Christmas Trivia
Quiz
ā¢
Professional Development
15 questions
Fun Holiday Trivia
Quiz
ā¢
Professional Development
25 questions
Name That Tune - Christmas
Quiz
ā¢
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
ā¢
Professional Development
9 questions
Holiday Movie Trivia
Lesson
ā¢
Professional Development
34 questions
Winter Trivia
Quiz
ā¢
Professional Development
