
invicta

Quiz
•
Education
•
University
•
Hard
sowmya lakskmi
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the problem in the following C declarations?
int func(int); double func(int); int func(float);
A function with same name cannot have different signatures
A function with same name cannot have different return types
A function with same name cannot have different number of parameters
All of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of thr following snippet?
void main()
{
for(int i=0;i<3;i++);
printf("AAC\n");
}
AAC
AAC
AAC
AAC
AAC
AAC
AAC
AAC
AAC
AAC
AAC
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this C code?
#include <stdio.h>
int main()
{
float f = 0.1;
if (f == 0.1)
printf("True");
else
printf("False");
}
true
false
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C language was developed by ?
Dennis Rechard
Bjarne Stroustrup
Dennis M. Ritchie
Anders Hejlsberg
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C language is a successor to which language?
B
Basic
Cobol
C++
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the datatype of the var in the below code snippet?
var = 10
print(type(var))
var = "Hello"
print(type(var))
int and str
str and str
int and int
str and int
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
a = [1, 2, 3]
a = tuple(a)
a[0] = 2
print(a)
[2,2,3]
(2,2,3)
(1,2,3)
Error
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
java

Quiz
•
University - Professi...
18 questions
C Language 101

Quiz
•
University
11 questions
OOAD Quiz 4

Quiz
•
University
10 questions
WEEK 10 - JAVA

Quiz
•
University
20 questions
Native mobile development

Quiz
•
University
12 questions
Titanic Statistik

Quiz
•
University
10 questions
Praktisi Mengajar - Java Test

Quiz
•
University
11 questions
Python Variable and Datatype Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade