
C C++ Final Test 20-APR-2022
Authored by ram lovewanshi
Computers
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
78 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are themselves a collection of different data types?
String
Struct
char
all
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator connects the structure name to its member name?
-
=
.
>>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following cannot be a structure member?
another structure
array
Function
None
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of this C code?
void main()
{
struct student
{
int no;
char name[20];
};
struct student s;
s.no = 8;
printf("%d", s.no);
}
Nothing
Compile error
8
Junk
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Size of a union is determined by size of the.
First member in the union
Last member in the union
C. Biggest member in the union
Sum of the sizes of all members
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output
Name:
Subject:
Percentage: 86.50000
Name:Raju
Subject:
Percentage: 86.50000
Name: Raju
Subject: Maths
Percentage: 86.50000
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Memory allocated for structure members are always contigious
True
False
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?