
Unit 3 MCQS - C
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Vasuki R
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default return type if it is not specified in function definition?
void
int
float
double
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not a correct function declaration?
intfunct(char x, char y);
double funct(x)
void funct();
char x();
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C, function parameters are always
Pass by value
Pass by reference
Passed by value result
pass by parameter
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Arguments passed to a function in C language are called
Formal arguments
Actual arguments
Definite arguments
Ideal arguments
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the correct statement
The body of a function should have only one return statement.
Function can return only one value in call by value environment.
Function can return multiple values.
Function cannot return multiple values.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the output void show(); void main() { show(); printf("WORLD "); } void show() { printf("HELLO "); }
WORLD HELLO
HELLO WORLD
WORLD
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C, what is the meaning of following function prototype with empty parameter list
Function can only be called without any parameter
Function can be called with any number of parameters of any types
Function can be called with any number of integer parameters.
Function can be called with one integer parameter.
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?
Similar Resources on Wayground
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
15 questions
GDSC Intro Quiz
Quiz
•
University
15 questions
[CEH4H3] Sistem Tertanam Ganjil 1819 Kuis Online 2
Quiz
•
University
18 questions
Строка CMD
Quiz
•
University
20 questions
2. Ayo Main Quiz Lagi
Quiz
•
University - Professi...
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
15 questions
Javascript Array dan Object
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University
