String in C

String in C

University

10 Qs

quiz-placeholder

Similar activities

CLE4153 Technology in ECE Revision

CLE4153 Technology in ECE Revision

12th Grade - University

15 Qs

BANK NATIONALIZATION DAY QUIZ ROUND 1

BANK NATIONALIZATION DAY QUIZ ROUND 1

12th Grade - University

15 Qs

S2-ANIMACIÓN 3D (BÁSICO)

S2-ANIMACIÓN 3D (BÁSICO)

University

13 Qs

PSYC314 W1to6 Revision

PSYC314 W1to6 Revision

University

10 Qs

Final Quiz :3D Printing World

Final Quiz :3D Printing World

3rd Grade - Professional Development

15 Qs

EVALUASI PEMBELAJARAN SCANNER/SCANTOOL

EVALUASI PEMBELAJARAN SCANNER/SCANTOOL

12th Grade - University

10 Qs

Chapter 6 : Kitchen Operation

Chapter 6 : Kitchen Operation

University

15 Qs

Second Language Acquisition Quiz-1

Second Language Acquisition Quiz-1

University

10 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?

Discover more resources for Education