
C language

Quiz
•
Computers
•
University
•
Hard
Leela vani Mangaturthi
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Who is the father of the C language?
A) James Gosling
B) Dennis Ritchie
C) Bjarne Stroustrup
D) Ken Thompson
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What is the extension of a C program file?
A) .cpp
B) .java
C) .c
D) .py
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. What is the default return type of the main() function in C?
A) int
B) void
C) float
D) char
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Which of the following is used to print output in C?
A) scanf()
B) printf()
D) echo()
D) void()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.Which header file is required for using printf() and scanf()?
A) stdio.h
B) conio.h
C) stdlib.h
D) string.h
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. How is a single-line comment written in C?
A) <!-- Comment -->
B) // Comment
C) /* Comment */
D) # Comment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Which of the following is NOT a valid variable name in C?
A) my_var
B) 2ndVar
C) _value
D) count123
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Kuis AlgolStrukData

Quiz
•
University
20 questions
Array and Loops in C#

Quiz
•
University
20 questions
Quiz I - Programming in C

Quiz
•
University
26 questions
String in C Programming

Quiz
•
University
21 questions
Básicos Python

Quiz
•
University
20 questions
CCE-III Programming in C Language

Quiz
•
University
25 questions
Stack and Queue

Quiz
•
University
25 questions
Java 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 Computers
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