Debugging
Quiz
•
Fun, Computers
•
10th Grade
•
Practice Problem
•
Hard
JOHN CSE
Used 78+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Memory allocation using malloc() is done in?
static area
Heap area
Stack area
Disc
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the use of void pointer?
Pointer will not return any value.
Address of any variable of any data type can be assigned.
Address of void method can be stored.
Address of another pointer can be stored.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program given below?
#include<stdio.h>
int main()
{
printf(“%.0f”,5.89);
return 0;
}
0
5
6
5.89
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How many times the loop will be executed?
#include <stdio.h>
Int main()
{ Int x,y;
for(x=5;x>=1;x--)
{
for(y=1;y<=x;y++)
{
printf(“%d\n”,y);
}
}
return 0;
}
15
11
10
13
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output/error?
int main()
{
int i =5;
char c = ‘c’;
int sum = i+c;
printf(“%d”,sum);
return 0;
}
104
103
Error
-121
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following program?
main()
{
static int var = 5;
printf(“%d”,var--);
if(var)
main();
}
12345
012345
543210
54321
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Find the output of the below Program?
main()
{
int i = 65;
printf(“sizeof(i)=%d”,sizeof(i));
}
sizeof(i)=1
sizeof(0)=1
sizeof(1)=1
sizeof(i)=2
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
Pemrograman Dasar
Quiz
•
10th Grade
20 questions
Friday Trivia!
Quiz
•
7th - 12th Grade
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
20 questions
CSS Box Model
Quiz
•
10th Grade
20 questions
Holiday Fun
Quiz
•
9th - 12th Grade
20 questions
Keyboarding Skills Review
Quiz
•
10th - 12th Grade
15 questions
Frozen
Quiz
•
1st - 12th Grade
21 questions
حاسب 1 نظري
Quiz
•
10th Grade
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
Discover more resources for Fun
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Winter Jokes
Quiz
•
5th - 12th Grade
12 questions
Christmas Movie Trivia
Quiz
•
3rd - 12th Grade
10 questions
Christmas Trivia
Quiz
•
3rd - 12th Grade
23 questions
Christmas Movies
Quiz
•
5th - 12th Grade
15 questions
Christmas Movie Trivia SHOWDOWN!
Quiz
•
5th Grade - University
