
String in C
Quiz
•
Education
•
University
•
Practice Problem
•
Medium
MARY T
Used 12+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
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
15 questions
FPFL Lesson 3: Types of packaging materials
Quiz
•
12th Grade - University
10 questions
Html/Css Quiz Day 1
Quiz
•
University
12 questions
ENT600 CREATIVITY
Quiz
•
University
11 questions
Test N°9 (Management) BTS : Logique d'affaires et d'innovations
Quiz
•
University
15 questions
OSHA
Quiz
•
University
10 questions
TUTORIAL 2 ECM442
Quiz
•
University
13 questions
Parts of a Lesson Plan
Quiz
•
University
10 questions
Makhraj Huruf 3
Quiz
•
1st Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
