
UC_TM04_Strings_Pointers
Quiz
•
Professional Development, Computers
•
University - Professional Development
•
Practice Problem
•
Hard
Koushik Thutupalli
Used 33+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void main()
{
char s[]="hello";
char t[]="Delhi";
strcat(t,s);
printf("\n%s",s);
printf("\n%s",t);
getch();
}
Delhihello
helloDelhi
helloDelhihello
DelhihelloDelhi
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void main()
{
char c[2]="I";
printf("\n%c",c[0]);
printf("%s",c);
getch();
}
Ic
II
I
Infinite number of I
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void main()
{
char c[]="AEIOU";
printf("\n%d",sizeof(c));
getch();
}
0
6
5
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void main()
{
char name[]="AEIOU";
int i=0;
while(name[i]!='\0'){
printf("%c",name[i]);
i++;
}
getch();
}
AEIOU
AEIOU\0
AEIOu
AEIOU\n
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The maximum length of a character constant can be -
infinite
1
0
4
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid string constant?
'A'
A
"A"
All of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void main()
{
char c[]={'A','E','I','O','U'};
printf("\n%d",sizeof(c));
getch();
}
0
4
5
6
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
Already have an account?
Similar Resources on Wayground
12 questions
LA EVALUACIÓN HECHA PRÁCTICA
Quiz
•
1st Grade - University
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
10 questions
gestes et postures
Quiz
•
Professional Development
15 questions
Computer Science Quiz
Quiz
•
University
8 questions
Câu hỏi về phần mềm Kodu
Quiz
•
1st Grade - University
12 questions
Array
Quiz
•
University
10 questions
Java Control Flow statements
Quiz
•
University
10 questions
ANOVA Analysis
Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
