
UC_TM04_Strings_Pointers

Quiz
•
Professional Development, Computers
•
University - Professional Development
•
Hard

Koushik Thutupalli
Used 33+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
CPR Quiz_chapter 5_structure

Quiz
•
Professional Development
15 questions
Code X Trade

Quiz
•
Professional Development
10 questions
C Programming - Basics 001

Quiz
•
University
13 questions
MindSpace Computers C Quiz-1 2025

Quiz
•
Professional Development
10 questions
C Programming Quiz-1

Quiz
•
University
10 questions
pemrograman dasar

Quiz
•
Professional Development
12 questions
C Practice Test 1

Quiz
•
University
10 questions
Java Static

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade