Search Header Logo

Programming in C by Khushboo Bhardwaj

Authored by khushboo Bhardwaj

Computers

University

Used 4+ times

Programming in C by Khushboo Bhardwaj
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

who developed the programming language c?

Steve Jobs

James Gosling

Rasmus Lerdorf

Dennis Ritchie

2.

FILL IN THE BLANK QUESTION

1 min • 2 pts

int a=printf("Computer Science");

printf("%d",a);

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

scanf() is a predefined function in______header file.

stdlib. h

ctype. h

stdio. h

stdarg. h

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

void main()

{

int x=2;

if(x=1)

{

printf("True");

}

else

{

printf("false");

}

printf("%d",x);

}

true 1

true 2

false 1

false 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

void main()

{

int a=0,b=6,c=1;

if(a&&b&&c)

{

printf("if");

}

else

{

printf("else");

}

}

if

else

error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

void main()

{

int a=0,b=6,c=1;

if(a++&&b&&c++)

{

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

}

else

{

printf("else");

}

}

0 6 1

1 6 1

else

1 6 2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The C-preprocessors are specified with _________ symbol

#

@

&

%

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?