Search Header Logo

Let's play with C and some reasoning

Authored by Valavala dadi naga siva sai pavan

Education

12th Grade

Used 1+ times

Let's play with C and some reasoning
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who's of the following escape character is also know as

CR(Carriage Return)

\r

\a

\b

\t

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of binary search algorithm in worst case scenario?

O(n)

O(1)

O(log n)

O(n²)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C , the placement of elements of a two dimensional array is

Column wise

Row wise

Diagonal wise

Bottom to top wise

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum dimension of an array allowed in C?

10

100

1000

No such limit exists

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the above code:

#include<stdio.h>

int main()

{

int a,b,c;

a=5;

b=3;

c=(a*5+b)/(a%b);

printf("%d",a);

return 0;

}

3

5

0

7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

String is not empty

the string is empty

Compile time error

Runtime Error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

5,7

2,9

0,4

1,5

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?