C programming quiz

C programming quiz

University

10 Qs

quiz-placeholder

Similar activities

Chapter 2-1: Array Part 1

Chapter 2-1: Array Part 1

University

12 Qs

Introduction to Arrays

Introduction to Arrays

KG - University

10 Qs

BCSC0006 - Quiz 1 - Arrays

BCSC0006 - Quiz 1 - Arrays

University

10 Qs

IT Quiz Round 3

IT Quiz Round 3

University

10 Qs

1D Array

1D Array

University

10 Qs

JAVA I/O

JAVA I/O

University

10 Qs

Revision 2 MCA

Revision 2 MCA

University

13 Qs

CODE CAREER

CODE CAREER

University

9 Qs

C programming quiz

C programming quiz

Assessment

Quiz

Computers

University

Hard

Created by

satvik rajput

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which is not a valid operator?

+

>>

,

#

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

which is not a datatype?

str

integer

float

structure

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the time complexity of binary search?

O(n^2)

O(n)

O(nlogn)

O(logn)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Find the output of the following code?

625

407

325

None

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these statement will give error?

printf("hello");

sizeof int

x+++1

*ptr++

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Find output.

32

35

20

None

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

which is not a valid array declaration in C?

arr[][][3]={1,2,3,4,5};

arr[50] = {1,2,3,4,5}

arr[][2];

arr[1] = {10,20,30};

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?