
PREDICT THE OUTPUT
Authored by LE210 Sankara Nayaki K
Computers
University
Used 40+ 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
30 sec • 1 pt
Guess the output?
3
-4
4
Compile error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of following program?
0
1
2
3
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following operator can be used to access value at address stored in a pointer variable?
*
&
->
.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
To print a double value, which format specifier can be used?
%l
%ld
%d
%lf
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code snippet?
Hi
HelloHi
Compile error
Compiler warning
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the below code snippet?
Infinite loop
Prints “Hello” once
No output
Compile error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the below code snippet?
Infinite loop
Prints “Hello” once
No output
Compile 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?