
C Programming (Pre test ET Sec B)
Quiz
•
others
•
Professional Development
•
Practice Problem
•
Hard
Rashmi Joshi
Used 1+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Q 1.What is the output of the following code snippet?
#include
main()
{
int const a = 5;
a++;
printf(“%d”,a);
}
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Q 2 - What is the output of the following code snippet?
#include
main()
{
const int a = 5;
a++;
printf("%d", a);
}
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Q 3 - What is the output of the below code snippet?
#include
main()
{
int a = 5, b = 3, c = 4;
printf("a = %d, b = %d\n", a, b, c);
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Q 4 - Function fopen() with the mode "r+" tries to open the file for __
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Q 5 - What is the output of the following program?
#include
main()
{
int a[] = {2,1};
printf("%d", *a);
}
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Q 6 - What is the output of the following program?
#include
main()
{
int a[3] = {2,,1};
printf("%d", a[a[0]]);
}
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Q 7 - What is the following program doing?
#include
main()
{
FILE *stream=fopen("a.txt",'r');
}
Create a free account and access millions of resources
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?
Similar Resources on Wayground
20 questions
FC1 Unit 12 AB
Quiz
•
Professional Development
20 questions
FC3 Unit 10 AB
Quiz
•
Professional Development
20 questions
Weather Terminology Quiz
Quiz
•
Professional Development
25 questions
Oscillator and waveshaping circuit
Quiz
•
Professional Development
25 questions
Rehabilitation Guidelines Quiz
Quiz
•
Professional Development
27 questions
Test 3 - Level 1 - 1000 words
Quiz
•
Professional Development
23 questions
Grammar Test (level 2)
Quiz
•
Professional Development
20 questions
parts of the system unit
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
