SASI -BATCH 3-DAY2-FN
Quiz
•
English
•
Professional Development
•
Practice Problem
•
Hard
CCC info@ccc.training
Used 5+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int x = 1; short int i = 2; float f = 3; if (sizeof((x == 2) ? f : i) == sizeof(float)) printf("float\n"); else if (sizeof((x == 2) ? f : i) == sizeof(short int)) printf("short int\n"); }
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> void main() { int k = 8; int m = 7; int z = k < m ? k++ : m++; printf("%d", z); }
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> void main() { 1 < 2 ? return 1 : return 2; }
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int num = 7; if (num % 2 == 0) { printf("Even\n"); } else { printf("Odd\n"); } return 0; }
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int a = 10; double b = 5.6; int c; c = a + b; printf("%d", c); }
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int a = 10, b = 5, c = 5; int d; d = a == (b + c); printf("%d", d); }
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
(x = foo()) != 1 considering foo() returns 2
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Career
Quiz
•
KG - Professional Dev...
10 questions
Past Modals of Deduction
Quiz
•
KG - Professional Dev...
10 questions
K10 - Game 1
Quiz
•
Professional Development
15 questions
VRESEC-24.01.2024-AN-1-3
Quiz
•
Professional Development
18 questions
Present Progressive
Quiz
•
Professional Development
20 questions
QUIZ ENGLISH 9
Quiz
•
1st Grade - Professio...
15 questions
Money Vocabulary
Quiz
•
6th Grade - Professio...
13 questions
English A1 class
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
