Which of the following is the correct extension for a C program file?

C-Volution (Easy 1)

Quiz
•
Information Technology (IT)
•
University
•
Medium
Sujal Bhagat
Used 6+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
.js
.c
.java
.py
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to print "Hello, World!" in C?
print("Hello, World!");
printf("Hello, World!");
cout << "Hello, World!";
System.out.println("Hello, World!");
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid C variable name?
my_var
2nd_variable
_count
name123
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used to end a statement in C?
.
,
;
:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a function in C?
def
function
void
func
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to read input from the user in C?
scanf()
input()
get_input()
read()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a constant in C?
constant int x = 10;
int x = const 10;
#define x 10
final int x = 10;
Create a free account and access millions of resources
Similar Resources on Quizizz
31 questions
Types of Research

Quiz
•
University
25 questions
Java Quiz in tamil theme by jamal

Quiz
•
University
25 questions
SAS Dasar Program Keahlian RPL Kelas X

Quiz
•
10th Grade - University
28 questions
Security Engineer Intern

Quiz
•
University
25 questions
UTS Struktur dan Organisasi Data

Quiz
•
University
30 questions
QUIZ

Quiz
•
University
25 questions
Fundamentals of programming Quiz

Quiz
•
University
30 questions
Y9 Python Review

Quiz
•
9th Grade - 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