
PRF192

Quiz
•
Information Technology (IT)
•
University
•
Medium
Giyuu undefined
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the proper declaration of a string named str which stores the value "Melodies"
char str[]="Melodies";
char str[7]="Melodies";
char str[9]= 'Melodies';
char str[]=Melodies;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can NOT be included in the variable name in C?
Digits
Underscore (_)
Letters
Dash (-)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data type occupied 1 byte?
float
double
char
int
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is the correct prototype in C? (choose 3)
doFunc(); char;
int doFunc(int, int);
void doFunc(int x, int y);
char doFunc()
float doFunc(void);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when the sample code below is executed?
int y = 30;
void foo(int *x){
x= &y;
*x=12;
}
int main(){
int v=10;
foo(&v);
printf("%d",v);
printf("\n");
return 0;
}
10
8
14
address of x
12
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the only function all C programs must contain?
system()
start()
main()
program()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
puts() function can display only one string at a time where as gets() is capable of receiving only one string at a time and can receive a multi-word string.
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Kuis Pointer 1

Quiz
•
University
15 questions
programmazione fino ai cicli 3C

Quiz
•
11th Grade - University
10 questions
Quiz on Basics of C

Quiz
•
University
10 questions
Java Quiz 1 in tamil theme

Quiz
•
University
15 questions
Bài 30

Quiz
•
10th Grade - University
15 questions
Массив

Quiz
•
University
11 questions
CodeQuest TechTopia 2025-26

Quiz
•
University
10 questions
Repaso Clase 5

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 Information Technology (IT)
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