Quiz - Functions in C

Quiz - Functions in C

Professional Development

30 Qs

quiz-placeholder

Similar activities

Quiz - I

Quiz - I

University - Professional Development

25 Qs

Fortress IQ: The ISMS Quest

Fortress IQ: The ISMS Quest

Professional Development

25 Qs

Bukber Trivia Games

Bukber Trivia Games

Professional Development

25 Qs

SDdbC#_Final Quiz

SDdbC#_Final Quiz

Professional Development

25 Qs

Struktogramme

Struktogramme

Professional Development

25 Qs

Quiz on Datatypes_Header file_C Pgm Structure

Quiz on Datatypes_Header file_C Pgm Structure

Professional Development

25 Qs

WOMANIA PRELIMS

WOMANIA PRELIMS

Professional Development

25 Qs

fundamentos de javascript

fundamentos de javascript

Professional Development

25 Qs

Quiz - Functions in C

Quiz - Functions in C

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Selva Jeevitha

Used 44+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a library function but can be a user defined function?

cos()
sqrt()
pow()
add()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

We use fucntions to reuse block of code. How many times, can you call a function?

only one time
2 times
Maximum of 10 times
Any number of times

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The prototype of main() is declared in the compiler. What type of fuction is main()?

library
undefined
User-Defined
compiler defined

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What vlaue is stored in x? X = scanf("%d %d", &a, &b);

1
2
3
No value assigned

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which character is used separate the parameters list in a function definition?

: (colon)
;(semicolon)
,(comma)
.(dot)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a correct format for declaration of function?

return-type function-name(argument type);
return-type function-name(argument type){}
return-type (argument type)function-name;
argument type function-name(return-type);

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many values can a C Function return at a time?

Only one value
maximum 2 values
maximum 3 values
maximum 8 values

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?