
C Programming Quiz

Quiz
•
Computers
•
University
•
Easy
Vasuki R
Used 2+ times
FREE Resource
58 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.
Create a free account and access millions of resources
Similar Resources on Wayground
60 questions
MATIQ PUTRI KELAS X - I

Quiz
•
10th Grade - University
57 questions
АКТ 3тест 1бөлім

Quiz
•
University
56 questions
J277/02 Computational thinking, algorithms and programming

Quiz
•
9th Grade - University
59 questions
Python CH1-3 Review

Quiz
•
8th Grade - Professio...
61 questions
Computer Networking Quiz

Quiz
•
10th Grade - University
56 questions
GRADE 8 4TH MONTHLY EXAM- COMPUTER 8

Quiz
•
8th Grade - University
57 questions
IMD222 Memory Module

Quiz
•
University
60 questions
TKI MODUL 6 SIJA

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade