How will you print \n on the screen? Options: printf("\n");, echo "\\n";, printf('\n');, printf("\\n");
Beginning C Programming

Flashcard
•
Computers
•
University
•
Hard
Quizizz Content
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
printf("\\n");
2.
FLASHCARD QUESTION
Front
We want to round off x, a float, to an int value, The correct way to do is: y = (int)(x + 0.5), y = int(x + 0.5), y = (int)x + 0.5, y = (int)((int)x + 0.5)
Back
y = (int)(x + 0.5)
3.
FLASHCARD QUESTION
Front
What punctuation is used to indicate the beginning and end of code blocks?
Back
{ }
4.
FLASHCARD QUESTION
Front
Which of the following is not a correct variable type? float, real, int, double
Back
real
5.
FLASHCARD QUESTION
Front
Which of the following is the correct operator to compare two variables? Options: :=, =, equal, ==
Back
==
6.
FLASHCARD QUESTION
Front
Which symbol terminates a C statement?
Back
;
7.
FLASHCARD QUESTION
Front
How to comment in C language?
Back
//Comment
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
Fundamentals of data Structures & Linked list

Flashcard
•
University
20 questions
c++ programming

Flashcard
•
University
18 questions
Basic C++ Programming Questions

Flashcard
•
University
20 questions
Flashcard on C++_1

Flashcard
•
Professional Development
15 questions
Flashcard on Object Oriented Programming and Java

Flashcard
•
University
20 questions
Basic Programming Concepts in C++ Language

Flashcard
•
KG
20 questions
AP CSA unit 1 review

Flashcard
•
11th Grade - University
24 questions
C++ Basics

Flashcard
•
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