
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
15 questions
Tech quiz Round 1

Quiz
•
University
18 questions
If else Quiz

Quiz
•
University
20 questions
First Meet Sains Data 2022

Quiz
•
University
15 questions
5CSE1_T&P questions

Quiz
•
University
15 questions
Structures and Union

Quiz
•
University
25 questions
C++ Basics

Quiz
•
University
20 questions
Round 2

Quiz
•
University
25 questions
Разработка приложений в C# 1 аттестация

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade