ppsc string questions

ppsc string questions

University

25 Qs

quiz-placeholder

Similar activities

C Programing

C Programing

University

25 Qs

python

python

University

30 Qs

CP_Second Series Test

CP_Second Series Test

University

20 Qs

OCS752_CP_MODEL 3_PART A

OCS752_CP_MODEL 3_PART A

University

30 Qs

C - Strings

C - Strings

University

20 Qs

No Strings Attached

No Strings Attached

University

20 Qs

Pointers

Pointers

University

20 Qs

GNIDOC ROUND 1

GNIDOC ROUND 1

University

25 Qs

ppsc string questions

ppsc string questions

Assessment

Quiz

Computers

University

Hard

Created by

K.vinay kumar

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

String is an array of

Characters

Integers

Floats

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

char name[]="DIPLOMA"; is equivalent to

char name[9]={'D','I','P','L','O','M','A','\O'}

char name[9]={'I','P','L','O','M','A','\O'}

char name[10];name="DIPLOMA";

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

gets() is used to read the _____input from keyboard

Strings without blanks only

Strings having blanks also

Strings of length 5 only

only numbers

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

puts("\n") is equivalent to

scan("\n")

printf("\n")

PRINTF("\N")

Printf("\n")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

'A'+1 gives

65

66

'B'

Both b and c

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

the ASCII stands for American Standard Code for ______Interchange

International

Informix

Information

Informal

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

puts(s) is equivalent to

printf("%s),

printf("%c",s)

printf("%s\n",s)

printf("%s),\n\n")

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?