C/C++ C Function

C/C++ C Function

Assessment

Assessment

Created by

Lê Duy Tân

Computers

University

254 plays

Medium

Student preview

quiz-placeholder

12 questions

Show all answers

1.

MULTIPLE CHOICE

30 sec • 1 pt

Choose correct statement about Functions in C Language

2.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

Choose a correct statement about C Function?

3.

MULTIPLE CHOICE

30 sec • 1 pt

A function which calls itself is called a ___ function.

4.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

How many times the program will print "Algbly"?

Answer explanation

A call stack or function stack is used for several related purposes, but the main reason for having one is to keep track of the point to which each active subroutine should return control when it finishes executing.A stack overflow occurs when too much memory is used on the call stack.Here function main() is called repeatedly and its return address is stored in the stack. After stack memory is full. It shows stack overflow error.

5.

MULTIPLE CHOICE

30 sec • 1 pt

Media Image

Determine Output

Answer explanation

Here show() function should not return anything. So, return 10; is not recommended.

6.

MULTIPLE CHOICE

30 sec • 1 pt

What are the types of functions in C Language?

7.

MULTIPLE CHOICE

30 sec • 1 pt

What is the limit for number of functions in a C Program?

Answer explanation

There is no limit on the number of functions.

8.

MULTIPLE CHOICE

30 sec • 1 pt

Every C Program should contain which function?

Answer explanation

main() is a compulsory function with or without returning anything.

9.

MULTIPLE CHOICE

30 sec • 1 pt

What is the minimum number of functions to be present in a C Program?

Answer explanation

At least there will be one function which is main() function.

10.

MULTIPLE CHOICE

30 sec • 1 pt

What is the maximum number of statements that can present in a C function?

Answer explanation

There is no limit on the number of statements that can present in a C Function.

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Find a similar activity

Create activity tailored to your needs using

Quizizz AI
C and C++ Programming Concepts

15 questions

C and C++ Programming Concepts

assessment

University

Functions C

12 questions

Functions C

assessment

University

Day 8 Assessment 2

10 questions

Day 8 Assessment 2

assessment

University

C++ Functions

10 questions

C++ Functions

assessment

University

Quiz6: Functions in C

10 questions

Quiz6: Functions in C

assessment

University

Functions in C++

9 questions

Functions in C++

assessment

University

C Flow Control and Functions

8 questions

C Flow Control and Functions

assessment

University

Input and output statement in c

7 questions

Input and output statement in c

assessment

University