C Programming - Medium
Quiz
•
Professional Development
•
10th Grade - University
•
Easy
Szymon Tokarski
Used 5+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Whether C code will compile without main() function?
Yes
No
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Format specifier for size_t is:
%s
%p
%zu
%ld
%i
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is output of this code:
#include <stdio.h>
int main(){
int y = 3;
printf("%d %d %d",y,y,y++,++y);
}
3 3 3
5 5 4
3 3 4
4 4 5
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is output of this code:
#include <stdio.h>
#define ARR_SIZE 10
int main(){
int arr[ARR_SIZE] = {-1};
int *ptr1 = &(arr[0]), *ptr2 = &(arr[4]);
printf("%p",ptr2-ptr1);}
4
Compile Error
0x4
0x16
16
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Select existing signals
SIGILL
SIGTERM
SIGRET
SIGEXT
SIGFPE
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
In which libraries NULL macro is defined?
stdlib.h
stdio.h
assert.h
stddef.h
stdbool.h
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which macro may return 31?
int x = 2, y= 3, z;
z= RAT(x++,++y);
#define RAT (A,B) ( ((A) * (A)) + ((B) * (B)) )
#define RAT (A,B) ( ((A) * (2)) + ((B) * (2)) )
#define RAT(A,B) ( ((A) * (A)) + ((B) * (B)) )
#define RAT(A,B) ( ((A) * (2)) + ((B) * (2)) )
#define RAT(A,B) ( ((A) * (B)) + ((B) * (B)) )
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
15 questions
EVALUACIÓN DIAGNÓSTICA PERIODONTOLOGÍA II
Quiz
•
KG - University
10 questions
EXAMEN SESIÓN 6 BIMESTRE 2
Quiz
•
10th Grade
10 questions
Cost accounting - 2
Quiz
•
University
10 questions
MONTHS,WEEKS AND DAYS
Quiz
•
1st Grade - Professio...
10 questions
K3 Kontruksi
Quiz
•
University - Professi...
11 questions
Soal PPPK 2021
Quiz
•
KG - Professional Dev...
10 questions
Music Notations
Quiz
•
1st Grade - Professio...
12 questions
Time Telling
Quiz
•
University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Professional Development
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade
