
C-Volution (Easy 1)
Authored by Sujal Bhagat
Information Technology (IT)
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct extension for a C program file?
.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;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?