Which of the following correctly shows the hierarchy of arithmetic operations in C?

Basics of C Programming - 1

Quiz
•
Computers
•
University
•
Medium

BVOCNMA 2019
Used 22+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
/ + * -
* - / +
+ - / *
/ * + -
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
To print out 'a' as an integer and 'b' as a decimal, which of the following printf() statement will you use?
printf("%f %lf", a, b)
printf("%f %f", a, b)
printf("%d %f", a, b)
printf("%f %d", a, b)
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is not logical operator?
&
&&
||
!
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is not logical operator?
&
&&
||
!
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
When does the code block following while(x<100) execute?
When x is less than one hundred
When x is greater than one hundred
When x is equal to one hundred
while it wishes
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Input/output function prototypes and macros are defined in which header file?
conio.h
stdlib.h
stdio.h
dos.h
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of this C code?
#include <stdio.h>
int main()
{
printf("Hello World! %d \n", x);
return 0;
}
Hello World! x;
Hello World! followed by a junk value
Compile time error
Hello World!
Create a free account and access millions of resources
Similar Resources on Quizizz
40 questions
Semester Final 2025

Quiz
•
10th Grade - University
40 questions
Arrays and ArryList

Quiz
•
University
35 questions
Final Exam - BECC0302

Quiz
•
University
40 questions
Data Structures and Algorithms Quiz

Quiz
•
University
40 questions
Quizz PTS Kelas XI Struktur Data Array

Quiz
•
11th Grade - University
45 questions
IP MIDTERM

Quiz
•
University
38 questions
Python Fundamentals Concept Checkup

Quiz
•
9th Grade - University
45 questions
PRF192-fe-fa24

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade