Which is the proper declaration of a string named str which stores the value "Melodies"
PRF192

Quiz
•
Fun
•
KG
•
Medium
Duy Phong chuyên toán
Used 31+ times
FREE Resource
55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
char str[7]="Melodies";
char str[9]= 'Melodies';
char str[]=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 variable names are NOT valid?
go_cart
go4it
4season
run4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the followings can be passed to the functions?
Data type
Loop
Value
Operator
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the followings is TRUE about array
An array is data type, which represents different types of data within a single group.
An array is group of elements, which are of the same size and data type and have the same name.
Array bound specifies the minimum size of data that can be stored.
An array is special variable which contains the address of the memory location of the another variable.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose age is an integer variable. Select correct statements which declare a pointer of type integer and assign an address of the variable age to it.
*int p; p = &age;
int *p; p = &age;
int *p; p = age;
int p*; p = &age;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Function strlen() is for finding the number of characters in a string
True
False
Create a free account and access millions of resources
Similar Resources on Quizizz
60 questions
Sports Rules

Quiz
•
6th - 8th Grade
51 questions
observations and inferences

Quiz
•
6th Grade
50 questions
ELECTRONICS CHAPTER 5 1

Quiz
•
KG
60 questions
BEYBLADE

Quiz
•
KG - 6th Grade
55 questions
Ôn tập KSTA test 1

Quiz
•
4th - 5th Grade
60 questions
KISI2 PAS GANJIL PEMROGRAMAN WEB

Quiz
•
11th Grade
50 questions
Monuments of India

Quiz
•
7th Grade
50 questions
MapleStory

Quiz
•
KG - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade