Basics Of C Programming

Basics Of C Programming

Assessment

Flashcard

Computers

University

Practice Problem

Easy

Created by

Sapna Bhirud

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

stdio.h

2.

FLASHCARD QUESTION

Front

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

Back

* / % + - =

3.

FLASHCARD QUESTION

Front

How many times CppBuzz.com is printed in the following code?
```c
int main()
{
int a = 0;
while(a++);
{
printf("CppBuzz.com");
}
return 0;
}
```

Back

1 time

4.

FLASHCARD QUESTION

Front

How many times CppBuzz.com is printed on console?
int main()
{
int a = 0;
while(a++)
{
printf("CppBuzz.com");
}
return 0;
}

Back

Nothing is printed on screen

5.

FLASHCARD QUESTION

Front

What is the output of the following 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; }

Back

1

6.

FLASHCARD QUESTION

Front

What is output of below program?
int main() { int i; for(i=0; i<5; ++i++) { printf("Hello"); } return 0; }

Back

Compilation Error

7.

FLASHCARD QUESTION

Front

What is an Identifier in C Language?

Back

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?