UNIT 3

Quiz
•
Computers
•
University
•
Easy
Ms Viancy V
Used 12+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • Ungraded
In C, parameters are always
Passed by value
Passed by reference
Non-pointer variables are passed by value and pointers are passed by reference
Passed by value result
2.
MULTIPLE SELECT QUESTION
30 sec • Ungraded
Choose correct statement about Functions in C Language.
A Function is a group of c statements which can be reused any number of times.
Every Function has a return type.
Every Function may no may not return a value.
All the above.
3.
MULTIPLE SELECT QUESTION
30 sec • Ungraded
Choose a correct statement about C Language Functions.
A) A function name can not be same as a predefined C Keyword.
B) A function name can start with an Underscore( _ ) or A to Z or a to z.
C) Default return type of any function is an Integer.
D) All the above.
4.
MULTIPLE SELECT QUESTION
30 sec • Ungraded
Choose a correct statement about C Function.?
main()
{
printf("Hello");
}
A) "main" is the name of default must and should Function.
B) main() is same as int main()
C) By default, return 0 is added as the last statement of a function without specific return type.
D) All the above
5.
MULTIPLE SELECT QUESTION
30 sec • Ungraded
A function which calls itself is called a ___ function.
A) Self Function
B) Auto Function
C) Recursive Function
D) Static Function
6.
MULTIPLE SELECT QUESTION
30 sec • Ungraded
What is the output of C Program with Functions.?
int main()
{
void show()
{
printf("HIDE");
}
show();
return 0;
}
A) No output
B) HIDE
C) Compiler error
D) None of the above
7.
MULTIPLE SELECT QUESTION
30 sec • Ungraded
What is the output of C Program with functions.?
void show();
int main()
{
show();
printf("ARGENTINA ");
return 0;
}
void show()
{
printf("AFRICA ");
}
A) ARGENTINA AFRICA
B) AFRICA ARGENTINA
C) ARGENTINA
D) Compiler error
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
C - Pointers

Quiz
•
University
12 questions
C/C++ C Function

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
9 questions
c language quiz

Quiz
•
University
15 questions
CODE ZENITH

Quiz
•
University
10 questions
C basic

Quiz
•
University
8 questions
Unit 2 : Operators

Quiz
•
University
10 questions
Basics Of C Programming

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University