
Programming Quiz(BCA 3rd)
Authored by Nagendra Gaur
Information Technology (IT)
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
70 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C keyword?
for
while
loop
if
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to get the address of a variable in C?
*
&
%
$
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
int x = 10;
printf("%d", x++);
9
11
10
12
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C, which function is used to read a character from the standard input?
scanf()
getchar()
getch()
gets()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an exit-controlled loop?
for
do-while
while
if
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default return type of a function in C if not specified?
float
int
void
char
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to define a preprocessor macro in C?
$
#
&
@
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?