
Round 3-Tech Titans

Quiz
•
Other
•
University
•
Hard
Tharun Kumar
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h>
int main()
{
int a = 5, b = 10;
printf("%d", a+++b);
return 0;
}
15
35
Compile error
45
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h>
void fun(int n)
{
if(n == 0)
return;
fun(n-1);
printf("%d ", n);
}
int main()
{
fun(3);
return 0;
}
3 2 1
1 2 3
0 1 2 3
3 2
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h>
int main()
{
int a = 5;
printf("%d %d %d", a, a<<1, a>>1);
return 0;
}
5 10 2
5 2 10
5 5 5
Compile error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h>
int main()
{
int a = 5;
printf("%d", sizeof(a++));
printf("%d", a);
return 0;
}
4 5
4 6
8 5
Compile error
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h>
int main()
{
int x = 0;
if(x = 10)
printf("Yes");
else printf("No");
return 0;
}
Yes
No
Compile error
Runtime error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h>
int main()
{
int a = 10;
if(a++ > 10)
printf("A");
else if(a++ > 10)
printf("B");
else
printf("C");
return 0;
}
A
B
C
Compile error
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h>
int main()
{
char str[] = "abc";
printf("%c", 2[str]);
return 0;
}
a
b
c
Compile error
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
CODESTRY ROUND 1

Quiz
•
University
18 questions
MIDTERM EXAM

Quiz
•
University
15 questions
Day -4 Workshop Quiz

Quiz
•
University
20 questions
Fundamentos diseño web

Quiz
•
University
25 questions
Round 2- Syntax ShowDown

Quiz
•
University
20 questions
Kelas PHP

Quiz
•
University
16 questions
C Programming Quiz

Quiz
•
University
20 questions
Intervalos

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University