
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
10 questions
1.0 Introduction To Fundamentals Of Programming

Quiz
•
University
10 questions
CD 10 Ch. 7-8 Quiz

Quiz
•
10th Grade - University
13 questions
Python Intermediate Quiz - 1

Quiz
•
8th Grade - Professio...
10 questions
Blockchain Quiz

Quiz
•
University
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
10 questions
Compose Camp - Session 1 Quiz

Quiz
•
University
10 questions
Basic Python

Quiz
•
10th Grade - University
12 questions
JAVA FUNDAMENTALS

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