
C Programming Quiz

Quiz
•
Engineering
•
University
•
Hard
kunchapu srinivas
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a correct syntax to output "Hello World" in C?
Console.WriteLine(“HelloWorld”);
System.out.println(“HelloWorld”);
cout<<”HelloWorld”;
printf(“HelloWorld”);
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you insert COMMENTS in C code?
—This is a comment
#This is a comment
//This is a comment
/*This is a comment*/
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When a variable is created in C, a memory address is assigned to the variable.
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In C, code statements must end with a semicolon (;)
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can you create a variable with the numeric value 5?
valnum=5;
num=5;
num=5int;
intnum=5;
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can you create a variable with the floating number 2.8?
floatnum=2.8;
valnum=2.8;
num=2.8float;
num=2.8double;
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which operator is used to add together two values?
The & sign
The ADD keyword
The * sign
The + sign
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
B19MEO701 -3D PRINTING AND TOOLING

Quiz
•
University
54 questions
BEEE QUIZ

Quiz
•
University
52 questions
US2395 Engineering Hand Tools Quiz

Quiz
•
12th Grade - University
55 questions
5.1.1 - Researching ideas

Quiz
•
10th Grade - University
51 questions
CSE - C Sectio Engineering Graphics MCQ

Quiz
•
University
53 questions
Câu hỏi về Kỹ thuật Tư duy Sáng tạo

Quiz
•
University
47 questions
C Programming Quiz

Quiz
•
University
50 questions
DSA QUIZ

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Engineering
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University