String in C

String in C

University

10 Qs

quiz-placeholder

Similar activities

Activity 2: Fundamentals of Algorithmic Problem

Activity 2: Fundamentals of Algorithmic Problem

University

10 Qs

ELEMENT OF SERVICE

ELEMENT OF SERVICE

University

10 Qs

SBITP QUIZZIZ

SBITP QUIZZIZ

University

10 Qs

Module 1- Python Basics_2nd_Semester

Module 1- Python Basics_2nd_Semester

University

10 Qs

Descriptive Statistics  and t-test

Descriptive Statistics and t-test

University

15 Qs

FEELINGS AND VALUES

FEELINGS AND VALUES

University

15 Qs

การพัฒนาหลักสูตร

การพัฒนาหลักสูตร

University

10 Qs

Impozitele si taxele

Impozitele si taxele

1st Grade - University

11 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