Search Header Logo

BCA/IT Sem-1 QuizoByte Round-1

Authored by YSM CVS

Computers

University

Used 2+ times

BCA/IT Sem-1 QuizoByte Round-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

What will be the output of the following code?

int a=10, b=20, c=30;

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

10

20

1

0

2.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Which of the following is NOT a valid storage class in C?

auto

register

static

dynamic

3.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

What will be the value of x after executing this code? int x=5; x = x++ + ++x;

11

12

13

Undefined behavior

4.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Which operator is used to get the remainder in C?

/

%

\

//

5.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

How many times will the following loop execute? for(int i=0; i<10; i+=2) { }

10

5

Infinite

4

6.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Which of the following function declaration is correct for returning a pointer to int?

int *function();

int function();

*int function();

pointer int function();

7.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Which of the following statements about arrays in C is FALSE?

Array elements are stored in contiguous memory locations.

Array indices start from 1.

The size of array must be a constant value.

Arrays can be multidimensional.

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?