C Programming

C Programming

Professional Development

5 Qs

quiz-placeholder

Similar activities

INTO Artificial Intelligence

INTO Artificial Intelligence

University - Professional Development

10 Qs

GUESS THAT WORD IN CYBER!

GUESS THAT WORD IN CYBER!

Professional Development

10 Qs

SJDMNHS Google Classroom 2

SJDMNHS Google Classroom 2

Professional Development

10 Qs

Let's Play Together

Let's Play Together

University - Professional Development

10 Qs

Mobile Offline Sync - OutSystems

Mobile Offline Sync - OutSystems

Professional Development

10 Qs

Cloud Computing

Cloud Computing

Professional Development

10 Qs

CodeMonkey Platform Management & Resources

CodeMonkey Platform Management & Resources

Professional Development

10 Qs

Culture Talk Series

Culture Talk Series

Professional Development

10 Qs

C Programming

C Programming

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

karthick k

Used 20+ times

FREE Resource

AI

Enhance your content in a minute

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

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following has a global scope in the program?

Formal parameters

Constants

Macros

Local variables

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements about functions is false?

The main() function can be called recursively

Functions cannot return more than one value at a time

A function can have multiple return statements with different return values

The maximum number of arguments a function can take is 128

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct way of treating 9.81 as a long double?

9.81L

9.81LD

9.81D

9.81DL

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which function would you use to convert 1.98 to 1?

ceil()

floor()

fabs()

abs()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Predict the output of the following code segment:

// Add stdio.h header file in below code


int main()

{

int x = 6;

int y = 4;

int z;

if(!x >= 5)

y = 3;

z = 2;

printf("%d %d", z, y);

return 0;

}

4 2

2 4

2 3

3 2

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?