C Programming

C Programming

Professional Development

10 Qs

quiz-placeholder

Similar activities

Python estrutura de repetição

Python estrutura de repetição

Professional Development

12 Qs

image processing quiz2

image processing quiz2

University - Professional Development

15 Qs

C++Quiz#1

C++Quiz#1

Professional Development

10 Qs

เก็บคะแนนครั้งที่ 1คณิตศาสตร์คอมพิวเตอร์

เก็บคะแนนครั้งที่ 1คณิตศาสตร์คอมพิวเตอร์

Professional Development

15 Qs

StarCraft 2 Quiz

StarCraft 2 Quiz

KG - Professional Development

10 Qs

U.T. 4: Nivel de enlace - Subcapas LLC y MAC - ARP

U.T. 4: Nivel de enlace - Subcapas LLC y MAC - ARP

Professional Development

15 Qs

JAVA - Arrays

JAVA - Arrays

University - Professional Development

15 Qs

MSI Commercial Desktop and Monitor

MSI Commercial Desktop and Monitor

Professional Development

15 Qs

C Programming

C Programming

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Mragank Singhal

Used 1K+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the 16-bit compiler allowable range for integer constants?

-3.4e38 to 3.4e38

-32767 to 32768

-32668 to 32667

-32768 to 32767

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What will happen when the following code is executed?

void main()

{

printf("MIET");

main();

}

Wrong statement

It will keep on printing MIET

It will print MIET once

None of these

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the result after execution of the following code if a is 10, b is 5, and c is 10?

if ((a > b) && (a <= c))

a = a + 1;

else

c = c+1;

a = 10, c = 10

a = 11, c = 10

a = 10, c = 11

a = 11, c = 11

4.

MULTIPLE CHOICE QUESTION

3 mins • 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

3 mins • 1 pt

Directives are translated by the

Pre-processor

Compiler

Linker

Editor

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which of the following will copy the null-terminated string that is in array src into array dest?

dest = src;

dest == src;

strcpy(dest, src);

strcpy(src, dest);

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What will the result of 'num' variable after execution of the following statements?

int num = 58;

num % = 11;

3

5

8

11

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?