SASI -1st year -DAY4-FN (21.12.23)
Quiz
•
English
•
Professional Development
•
Practice Problem
•
Hard
CCC info@ccc.training
Used 1+ 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 arr[5], i=0; while(i<5) arr[i]=++i; for(i=0; i<5; i++) printf("%d, ", arr[i]); return 0; }
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { foo(ary); } void foo(int **ary) { int i = 10, k = 10, j = 2; int *ary[2]; ary[0] = &i; ary[1] = &j; printf("%d\n", ary[0][1]); }
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h> int main() { int arr[1]={10}; printf("%d\n", 0[arr]); return 0; }
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> void f(int a[][]) { a[0][1] = 3; int i = 0, j = 0; for (i = 0;i < 2; i++) for (j = 0;j < 3; j++) printf("%d", a[i][j]); } void main() { int a[2][3] = {0}; f(a); }
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int nums[3][2] = {{1, 2}, {3, 4}, {5, 6}}; printf("%d", nums[1][0] / nums[2][1]); return 0; }
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int arr[5] = {1, 2, 3, 4, 5}; int sum = 0; for (int i = 0; i < 5; ++i) { sum += arr[i] + i; } printf("%d", sum);
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int arr[5] = {1, 2, 3, 4, 5}; printf("%d", arr[2] / arr[4]); return 0; }
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
20 questions
The Founder Movie
Quiz
•
12th Grade - Professi...
15 questions
SASI -BATCH 3-DAY5-AN(24.11.23)
Quiz
•
Professional Development
10 questions
Narrative Text for Grade 9
Quiz
•
KG - Professional Dev...
11 questions
ALINHAMENTO - SEMESTRE
Quiz
•
Professional Development
10 questions
Food Hygiene 1
Quiz
•
Professional Development
10 questions
Quiz # 4
Quiz
•
Professional Development
12 questions
Coding vocabulary
Quiz
•
Professional Development
10 questions
S4LEP
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
