
cd114b_pps_quiz2_2024_2025_sem1
Quiz
•
Computers
•
University
•
Medium

kunisetti subramanyam
Used 2+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a correct format for declaration of function?
return-type function-name(argument type);
return-type function-name(argument type){}
return-type (argument type)function-name;
all of the mentioned
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following function declaration is illegal?
int 1bhk(int);
int 1bhk(int a);
int 2bhk(int*, int []);
all of the mentioned
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function definition will run correctly?
int sum(int a, int b) return (a + b);
int sum(int a, int b) {return (a + b);}
int sum(a, b)
return (a + b);
none of the mentioned
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Can we use a function as a parameter of another function? [Eg: void wow(int func())].
Yes
No
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The value obtained in the function is given back to main by using ________ keyword.
return
static
new
volatile
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In c, what is a Function primarily used for?
Decision making
variable declarration
code organization and reusability
printing output
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
what is the result of statement printf("%d",sizeof(int *));
8
4
2
1
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
C Pointers 17May2023
Quiz
•
University
10 questions
C Programming Quiz-1
Quiz
•
University
10 questions
2024 - Struktur Data Quiz 1
Quiz
•
University
12 questions
Python Basics
Quiz
•
University
10 questions
DEBUG THE CODE
Quiz
•
University
15 questions
Milking Minds 2 17-01-24
Quiz
•
University
15 questions
C programming
Quiz
•
University
10 questions
Basic C++ Program Structures
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 Computers
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