What is the default return type if it is not specified in function definition?

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
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 Quizizz
60 questions
Associate Diploma in Software Development Quiz- Set 1 (Amal)

Quiz
•
University
61 questions
Computer Networking Quiz

Quiz
•
10th Grade - University
61 questions
4) 208.1 Basic Apache Configuration

Quiz
•
University
63 questions
CS8392 - Object Oriented Programming - Unit 1

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

Quiz
•
9th Grade - University
61 questions
DAta Structure-unit 1&2

Quiz
•
University
61 questions
Msw1

Quiz
•
3rd Grade - University
59 questions
Python CH1-3 Review

Quiz
•
8th Grade - Professio...
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade