
C CODE MASTER A
Authored by Amartya Vishwakarma
Computers
Professional Development
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which keyword is used to prevent any changes in the variable within a C program?
immutable
const
volatile
mutable
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
In C language what are the basic building blocks that are constructed together to write a program?
keywords
tokens
identifiers
functions
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which is the smallest program to compile and run without errors?
main() { ; }
main() { }
int main() {return 0;}
main()
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
In which segment does dynamic memory allocation takes place?
BSS Segment
data segment
heap
stack
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
By default c uses the call by value method to pass arguments to functions. How can you invoke the call by reference method?
by using recursive functions
by using pointers
by using global variables
by declaring functions separately from defining them
6.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
what is the output of following program.
B D
B C
A B
error
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the output of following programe.
TRUE
FALSE
RUN TIME ERROR
COMPILATION ERROR
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?