
Sharda fest 2024
Authored by Ramkumar Professor)
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
1) What is the 16-bit compiler allowable range for integer constants?
3.4e38 to 3.4e38
.-32767 to 32768
-32668 to 32667
-32768 to 32767
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
2) Study the following program:
main()
{printf("javatpoint");
main();}
What will be the output of this program?
Wrong statement
It will keep on printing javatpoint
It will Print javatpoint once
None of the these
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
3) What is required in each C program?
The program must have at least one function.
The program does not require any function.
Input data
Output data
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
4) What will this program print?
main()
{
int i = 2;
{
int i = 4, j = 5;
printf("%d %d", i, j);
}
printf("%d %d", i, j);
}
4525
2525
4545
None of the these
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
5) Which of the following comment is correct when a macro definition includes arguments?
The opening parenthesis should immediately follow the macro name.
There should be at least one blank between the macro name and the opening parenthesis.
There should be only one blank between the macro name and the opening parenthesis.
All the above comments are correct.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
6) What is a lint?
C compiler
Interactive debugger
Analyzing tool
C interpreter
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
7) What is the output of this statement "printf("%d", (a++))"?
The value of (a + 1)
The current value of a
Error message
Garbage
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?