
Ch-I Basics of C
Authored by Dayanand Kamble
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which of the following operator(s) is/are used for assigning a value?
==
=
+=
!=
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main() {
int i = 0;
int j = i++ + i;
printf("%d\n", j);
}
0
1
2
Compile time error
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
printf is a
function
variable
datatype
operator
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main()
{
int i = 2;
int j = ++i + i;
printf("%d\n", j);
}
What is the output of the above program?
4
5
6
7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main() {
int c = 2 ^ 3;
printf("%d\n", c);
}
1
8
9
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main()
{
int a = 2;
int b= a >> 1;
printf("%d\n", b);
}
0
1
2
Compile time Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main()
{
int a = 2;
int b=11 ;
printf("%d\n", a+b*a);
}
26
24
20
None
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?