C Code Master lvl 2 A

C Code Master lvl 2 A

Professional Development

10 Qs

quiz-placeholder

Similar activities

Penilaian Pengetahuan 2 KSK2023

Penilaian Pengetahuan 2 KSK2023

Professional Development

12 Qs

Java Strings and lops

Java Strings and lops

Professional Development

10 Qs

PowerShell 3.1-Tuberías (I)

PowerShell 3.1-Tuberías (I)

Professional Development

15 Qs

IC101

IC101

Professional Development

10 Qs

Cloud Computing Model Exam-IV PART-B

Cloud Computing Model Exam-IV PART-B

Professional Development

15 Qs

Microsoft 365 for Teachers

Microsoft 365 for Teachers

Professional Development

10 Qs

Introduction to AI - Healthcare & Business

Introduction to AI - Healthcare & Business

University - Professional Development

10 Qs

Ngobrolin-TI

Ngobrolin-TI

Professional Development

10 Qs

C Code Master lvl 2 A

C Code Master lvl 2 A

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Amartya Vishwakarma

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The keyword ‘break’ cannot be simply used within

if-esle

do-while

for

while

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The format identifier ‘%i’ is also used for _____ data type.

int

float

char

double

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code:

#include<stdio.h>

void main()

{

int a=10,b=80,c=45;

printf("%d",a<b>c);

}

0

1

10

error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following

printf("%d",34+24/12%3*5/2-4);

35

-2

34

38

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The statement int a[5][5] = {{1}};

sets all elements to 1

sets only a[0][0] to 1

fails on compilation

sets a[0][0] to 1 and the remaining elements to zeroes

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of C program.?

int main()

{

float marks[3] = {90.5, 92.5, 96.5};

int a=0;

while(a<3)

{

printf("%.2f,", marks[a]); a++;

}

}

Compiler error

90.5 92.5 96.5

0.00 0.00 0.00

90.50 92.50 96.50

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code.

int a=33 , b ;

b=(a++)-(--a);

printf("%d",b);                        

33

66

Garbage value

0

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?