
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
7 questions
Study Club Fun Java #1

Quiz
•
University
10 questions
Kuis Makro Week 3

Quiz
•
University
13 questions
Preguntas sobre Python

Quiz
•
University
15 questions
Виджеты Scrollbar и Spinbox в Tkinter

Quiz
•
University
10 questions
Quiz CG - Code V2

Quiz
•
University
14 questions
Teste de SQL: Tabelas e Inserções

Quiz
•
10th Grade - University
12 questions
SOAL IE

Quiz
•
University
10 questions
Fundamentos de Programación en Python

Quiz
•
6th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University