Programming in C functions

Programming in C functions

University

10 Qs

quiz-placeholder

Similar activities

Week 11

Week 11

University

8 Qs

Intro to DDP2

Intro to DDP2

University

10 Qs

HTML PHP C++

HTML PHP C++

University

10 Qs

IT203 Java Unit4 Post Test

IT203 Java Unit4 Post Test

University

10 Qs

Java basics quiz

Java basics quiz

University

9 Qs

Dasar C-Kelas B

Dasar C-Kelas B

University

10 Qs

C# and Python

C# and Python

4th Grade - University

7 Qs

Laplace Transforms

Laplace Transforms

University

10 Qs

Programming in C functions

Programming in C functions

Assessment

Quiz

Other

University

Medium

Created by

Suresh Mamidisetti

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function which calls itself is called a ___ function.

Self Function

Auto Function

Recursive Function

Static Function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The keyword used to transfer control from a function back to the calling function is

switch

goto

go back

return

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the types of functions in C Language?

Library Functions

User Defined Functions

Both Library and User Defined

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Every C Program should contain which function?

printf()

show()

scanf()

main()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Arguments passed to a function in C language are called ___ arguments.

Formal arguments

Actual Arguments

Definite Arguments

Ideal Arguments

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid function call (assuming the function exists)?

funct;

funct x, y;

funct();

int funct();

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?