Basics Of C Programming

Basics Of C Programming

University

10 Qs

quiz-placeholder

Similar activities

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Workshop_1

Workshop_1

University

11 Qs

Programming

Programming

University

12 Qs

Condicionales en Racket

Condicionales en Racket

University

10 Qs

Soal SKD

Soal SKD

University - Professional Development

10 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

Porcentajes

Porcentajes

University

12 Qs

Logic Based Testing

Logic Based Testing

University

15 Qs

Basics Of C Programming

Basics Of C Programming

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

mahesh kanase

Used 457+ 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

30 sec • 1 pt

Which header file can be used to define input/output function prototypes and macros?

- math.h

- memory.h

- stdio.h

- dos.h

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The correct order of evaluation for the expression “z = x + y * z / 4 % 2 – 1”

* / % = + -

/ * % - + =

- + = * % /

* / % + - =

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many times CppBuzz.com is printed?

int main()

{

int a = 0;

while(a++);

{

printf("CppBuzz.com");

}


return 0;

}

0 time

1 time

Compilation Error

Infinite times

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times CppBuzz.com is printed on console?

int main()

{

int a = 0;

while(a++)

{

printf("CppBuzz.com");

}


return 0;

}

Nothing is printed on screen

0 time

1 time

Infinite times (Untill Stack overflow)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output of below program?


int main()

{

int i,j,count;

count=0;

for(i=0; i<5; i++);

{

for(j=0;j<5;j++);

{

count++;

}

}

printf("%d",count);

return 0;

}

55

54

1

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output of below program?


int main()

{

int i;

for(i=0; i<5; ++i++)

{

printf("Hello");

}

return 0;

}

Hello is printed 5 times

Compilation Error

Hello is printed 2 times

Hello is printed 3 times

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an Identifier in C Language.?

Name of a Function or Variable

Name of a Macros

Name of Structure or Union

All the above.

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?