DSBS-AN-29.01.2024
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
2 mins • 1 pt
#include<stdio.h> main() { typedef int a; a b=2, c=8, d; d=(b*2)/2+8; printf("%d",d); }
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
#include<stdio.h> #include<string.h> typedef struct employee { char name[50]; int salary; } e1; void main( ) { printf("Enter Employee name"); scanf("%s",e1.name); printf("\n%s",e1.name); }
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the size of myArray in the code shown below? (Assume that 1 character occupies 1 byte) typedef char x[10]; x myArray[5];
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
#include<stdio.h> int main() { typedef union a { int i; char ch[2]; }hello; hello u; u.ch[0] = 3; u.ch[1] = 2; printf("%d, %d", u.ch[0], u.ch[1]); return 0; }
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
#include<stdio.h> int main() { typedef union a { int i; char ch[2]; }hello; hello u; u.ch[0] = 3; u.ch[1] = 2; printf("%d, %d", u.ch[0], u.ch[1]); return 0; }
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
#include <stdio.h> typedef int Arr[4]; // Driver code int main() { Arr temp = { 10, 20, 30, 40 }; printf("typedef using an array\n"); for (int i = 0; i < 4; i++) { printf("%d ", temp[i]); } return 0; }
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which member of the union will be active after REF LINE in the following C code? #include <stdio.h> union temp { int a; float b; char c; }; union temp s = {1,2.5,’A’};
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
15 questions
VCE-GAMMA-21.11.2023-AN
Quiz
•
Professional Development
20 questions
Barron's Chapter 17 TOEFL Vocabulary
Quiz
•
Professional Development
20 questions
CO Level-3 Q:3
Quiz
•
Professional Development
15 questions
Frontex terminology
Quiz
•
Professional Development
15 questions
SASI -1st year -DAY4-FN (21.12.23)
Quiz
•
Professional Development
15 questions
SASI -1st year -DAY4-AN (21.12.23)
Quiz
•
Professional Development
15 questions
DSBS-AN-31.01.2024
Quiz
•
Professional Development
20 questions
coding skills (ISCP 02) Tuesday slot2 (11am - 1:00pm) CSE E & G
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
