Structure in C
Quiz
•
Computers
•
University
•
Medium
Chi Quang
Used 16+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following are themselves a collection of different data types?
string
char
struct
all
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which operator connects the structure name to its member name?
-
.
=
>>
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following cannot be a structure member?
another structure
Function
array
None
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following structure declaration will throw an error?
struct temp{ } s;
main(){}
struct temp{ };
struct temp s;
main(){ }
struct temp s;
struct temp{ };
main(){ }
None
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this C code?
Nothing
Compile error
8.0
8
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Size of a union is determined by size of the.
First member in the union
Last member in the union
Biggest member in the union
Sum of the sizes of all members
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assuming size of long int is 4 bytes, what will be the output for:
typedef long long int L = 24;
printf("Size of long long int is :");
printf("%d",sizeof(L));
24
4
8
Error
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
java quiz based on interface
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
ML Course Activity-II
Quiz
•
University
10 questions
หลักพื้นฐานของการออกแบบปฏิสัมพันธ์
Quiz
•
University
15 questions
Quiz Sistem Pembayaran
Quiz
•
1st Grade - University
10 questions
FOP - CHAPTER 4
Quiz
•
University
10 questions
Quiz 1
Quiz
•
University
10 questions
Module 09 - Day 3
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
