
C Programming YCAP 3 Post Test ET B
Authored by Rashmi Joshi
others
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
1.
3.75
Depends on compiler
24
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
2.
128
-128
Depends on the compiler
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
3.
It will cause a compile-time error
It will cause a run-time error
It will run without any error and prints 3
It will experience infinite looping
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
4.Which of the following cannot be checked in a switch-case statement?
Character
Integer
Float
enum
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
5.
It compiles
Compiles with an warning
Not compile
Compiles and print nothing
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
6. There is a error in the below program. Which statement will you add to remove it?
Add prototype: float f(aa, bb)
Add prototype: float f(int, float)
Add prototype: float f(float, int)
Add prototype: float f(bb, aa)
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
7.Which of the following statements correctly assigns 12 to month using pointer variable pdt?
pdt.month = 12
&pdt.month = 12
d.month = 12
pdt->month = 12
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?