Functions in C

Functions in C

University

20 Qs

quiz-placeholder

Similar activities

Spreadsheet

Spreadsheet

8th Grade - University

20 Qs

data structures1

data structures1

University

20 Qs

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

Week 5: Test your understanding part 1

Week 5: Test your understanding part 1

University

20 Qs

unit-4-testing

unit-4-testing

University

20 Qs

Mapeamento e Normalização BD

Mapeamento e Normalização BD

University - Professional Development

15 Qs

python basics

python basics

11th Grade - University

15 Qs

PROBLEM SOLVING USING R  UNIT I  MCQS

PROBLEM SOLVING USING R UNIT I MCQS

University

15 Qs

Functions in C

Functions in C

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Femi D

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

20 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

Choose a correct statement about C Function?

void main() {
  printf("Hello");
}

"main" is the name of default must and should Function

main() is same as int main()

By default, return 0 is added as the last statement of a function without specific return type

All the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function which calls itself is called a ___ function.

Self Function

Auto Function

Recursive Function

Static Function

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

int **a;

switch

goto

go back

return

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times the program will print "Algbly"?

int main() {
  printf("Algbly");
  main();
  return 0;
}

Infinite times

32767 times

65535 times

Till stack overflows

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Determine Output :

void show() {
  printf("PISTA ";
  show();
}

void main() {
  printf("CACHEW ");
  return 10;
}

PISTA CACHEW

CASHEW PISTA

PISTA CASHEW with compiler warning

Compiler error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose correct statements about C Language Pass By Value.

Pass By Value copies the variable value in one more memory location

Pass By Value does not use Pointers

Pass By Value protects your source or original variables from changes in outside functions or called functions

All the above

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers