Contents

Which of the following is used to concatenate the content of one string with another?
a) strcat                                
b) strcopy
c) strcpy                                
d) none of these

a

Which of the following function is used to compare the specified number of characters in two strings?
a) strcmp                             
b) strchr
c) strcompare                      
d) none of these

a

The …….. function is sued to return the length of string.
a) strlen                                
b) strlength
c) len                                     
d) strsize

a

A collection of characters written in double quotation is called…..
a) array                                 
b) string
c) character                          
d) none of these

b

How many parameters are in string initialization?
a) one    
b) two    
c) three  
d) four

d

Explanation: char, array_name, length, value


Which of the following object is used to input string value without any blank space?
a) cin     
b) cout  
c) printf 
d) scanf

a