C Language

C Language

10th Grade - University

11 Qs

quiz-placeholder

Similar activities

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

CHAPTER 5 ONLINE QUIZ

CHAPTER 5 ONLINE QUIZ

University

9 Qs

Javascript

Javascript

University

12 Qs

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

Grade 11 Term 4 Practice 2

Grade 11 Term 4 Practice 2

11th Grade

10 Qs

Logos - Digital Images

Logos - Digital Images

2nd - 10th Grade

10 Qs

C Language

C Language

Assessment

Quiz

Computers

10th Grade - University

Practice Problem

Medium

Created by

Ashish Ranjan

Used 186+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this statement "printf("%d", (a++))" ?

The value of (a + 1)

The current value of a

Error message

Garbage

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the C language, the constant is defined _______.

Before main

After main

Anywhere, but starting on a new line.

None of the these.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times will the following loop execute?

for(j = 1; j <= 10; j = j-1)

Forever

Never

0

1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is a loop construct that will always be executed once?

for

while

switch

do while

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the result of len variable after execution of the following statements?

int len;

char str1[] = {"39 march road"};

len = strlen(str1);

11

12

13

14

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement can print \n on the screen?

printf("\\n");

printf("n\");

printf("n");

- printf('\n');

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C is _______ type of programming language ?

Object Oriented

Procedural

Bit level language

Functional

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?