String in C

String in C

University

10 Qs

quiz-placeholder

Similar activities

Intro to Early Childhood Education

Intro to Early Childhood Education

9th Grade - University

10 Qs

ICD11 Knowledge

ICD11 Knowledge

University

10 Qs

Social Media Etiquette

Social Media Etiquette

University

10 Qs

How much do you know about accommodations?

How much do you know about accommodations?

6th Grade - University

10 Qs

TOPIC 4: ISO

TOPIC 4: ISO

University

10 Qs

UJIAN LENTUR (UJIAN MUSNAH)

UJIAN LENTUR (UJIAN MUSNAH)

University

10 Qs

Risk Management

Risk Management

University

10 Qs

MC-024-3:2012-WA2(WPS)

MC-024-3:2012-WA2(WPS)

University

15 Qs

String in C

String in C

Assessment

Quiz

Education

University

Practice Problem

Medium

Created by

MARY T

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?