
String in C

Quiz
•
Education
•
University
•
Medium
MARY T
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A string is a ____________ character array.
Null terminated
fully terminated
listed in parenthesis
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Guess the output:
void main()
{
char name[10]=“ECE”;
printf(“Name is %s”,name);
}
Error
ECE
Name is ECE
warning
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of below C code?
printf(“%.5s”,name);
will print all the characters
will print the name
will print the 5 characters
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who is father of C Language?
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following function compiler used to read strings with blank space?
getchar()
getche()
gets()
None of the Above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the standard library of C programming language, which of the following header file is designed for string operations?
string.h
conio.h
dos.h
stdio.h
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Full form of ASCII code is ___________.
American Standard Code for Internet Interconnection
American Standard Code for Internet Interchange
American Standard Code for Information Interchange
American Standard Captcha for Information Interchange
Create a free account and access millions of resources
Similar Resources on Wayground
5 questions
Principles of quality ECE

Quiz
•
University
10 questions
PRETEST ISOLATOR PADAT

Quiz
•
University
10 questions
Python

Quiz
•
1st Grade - Professio...
9 questions
Pedagogía de la hospitalidad URUGUAY

Quiz
•
University - Professi...
13 questions
Python Intermediate Quiz - 1

Quiz
•
8th Grade - Professio...
10 questions
Bài 18: Các lệnh vào ra đơn giản

Quiz
•
University
15 questions
MODULO 2_2 Cuestionario_1

Quiz
•
University
6 questions
19CS2014 Python programming

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 Education
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