
VISVOTSAV 2K25 CODING ROUND 1 - II - IV
Authored by Ganesh D
Other
University
Used 4+ 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
What is the size of int in most modern 64-bit GCC compilers?
2 bytes
4 bytes
8 bytes
Depends on OS
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid identifier in C?
my_var
_value2
2value
value_
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? #include int main() { int a = 5, b = 2; printf("%d", a / b); return 0; }
2.5
2
3
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to exit from a loop immediately?
continue
break
exit
return
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will sizeof('A') return in C?
1
2
4
Implementation dependent
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid storage class in C?
auto
register
volatile
static
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program? #include int main() { char str[] = "Hello"; printf("%c", *str); return 0; }
H
e
Hello
Garbage value
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?