
Unit 1 - Basics of C Programming
Authored by Abhishek Pandey
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the entry point of a C program?
start()
begin()
init()
main()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the #include directive in a C program?
To declare variables
To define functions
To include header files
To start the execution of the program
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to end a statement in C?
:
'
.
;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to print output in C?
input()
print()
printf()
display()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The return 0; statement at the end of the main() function signifies:
Program failed
Program returned nothing
Program ended successfully
Program entered an infinite loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is the language named C?
Named after creator
Successor of B language
It is the third language
Random name
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which language influenced the development of B language?
Java
BCPL
Python
Pascal
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?