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 Wayground
30 questions
FUNPROG

Quiz
•
University
35 questions
c# long quiz

Quiz
•
University
30 questions
C++ Programming Quiz 2

Quiz
•
University
30 questions
Warmup - Python - Machine Learning

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

Quiz
•
University
35 questions
2nd Year Data Structures Quiz Qn

Quiz
•
University
28 questions
Security Engineer Intern

Quiz
•
University
25 questions
UTS Struktur dan Organisasi Data

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade