C Programming Quiz

C Programming Quiz

University

58 Qs

quiz-placeholder

Similar activities

Bài 11. Bài trình chiếu của em

Bài 11. Bài trình chiếu của em

3rd Grade - University

55 Qs

PHP Class Test

PHP Class Test

University

62 Qs

Telecomunicaciones

Telecomunicaciones

University

58 Qs

คอมพิวเตอร์และการบำรุงรักษา(พนม1-4)

คอมพิวเตอร์และการบำรุงรักษา(พนม1-4)

University

60 Qs

WEBDES Midterm Exam

WEBDES Midterm Exam

University

60 Qs

FINALS Data Structure and algorithm

FINALS Data Structure and algorithm

University

62 Qs

Pre-Midterm Review Questions BSME-2A/2B/2C/2D

Pre-Midterm Review Questions BSME-2A/2B/2C/2D

University

55 Qs

11th COMPUTER SCIENCE CH-1 to CH-6 TN SB I-MID

11th COMPUTER SCIENCE CH-1 to CH-6 TN SB I-MID

11th Grade - University

53 Qs

C Programming Quiz

C Programming Quiz

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Vasuki R

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

58 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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.

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?