What is the common file extension for C language files?

C Programming Quiz

Quiz
•
Computers
•
University
•
Hard
Bader Saad
FREE Resource
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
.cpp
.c
.java
.py
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to declare a variable in C?
var x = 10;
int x = 10;
x = 10;
define x = 10;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to indicate a single-line comment in C?
//
/*
–
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of printf(“%d”, 5/2); in C?
2.5
2
3
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which header file is required to use the printf() function?
math.h
string.h
stdio.h
stdlib.h
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of the int data type in C (on most modern systems)?
1 byte
2 bytes
4 bytes
8 bytes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid variable name in C?
_variable
variable1
1variable
variable_name
Create a free account and access millions of resources
Similar Resources on Quizizz
50 questions
C Programming Quiz

Quiz
•
University
51 questions
C Programming Quiz

Quiz
•
University
50 questions
MCQ for Coding Carnival

Quiz
•
University
50 questions
Visual basic Quiz PGDCA

Quiz
•
University
49 questions
Test 2

Quiz
•
University
50 questions
PF201: SCCPF2012223

Quiz
•
University
50 questions
I CS Quiz 25/9 final

Quiz
•
12th Grade - University
50 questions
Quiz Python

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