Contents

Which of the following is the variable type defined in header string.h?
a) sizet                                  
b) size
c) size_t                                
d) size-t

c

NULL is the macro defined in the header string. h?
a) True                                 
b) False

a

What is the maximum length of a C String?
a) 32 characters  
b) 64 characters
c) 256 characters
d) None of these

d

How do you accept a Multi Word Input in C Language?
a) SCANF                             
b) GETS
c) GETC                                               
d) FINDS

b

Choose a correct C Statement about Strings.
a) PRINTF is capable of printing a multi word string
b) PUTS is capable of printing a multi word string
c) GETS is capable of accepting a multi word string from console or command prompt    
d) All the above

d

Choose a correct statement about C String.
a) A string is a group of characters enclosed by double quotes
b) If a string is defined with double quotes, NULL is automatically added at the end
c) Size of a string is without counting NULL character at the end
d) All the above

d