Examveda

Select the correct differences between char and varchar data types?
i. varchar is non unicode and char is unicode character data type
ii. char is 'n' bytes whereas varchar is actual length in bytes of data entered in terms of storage size
iii. varchar is variable in length and char is the fixed length string
iv. For varchar, if a string is less than the maximum length then it is stored in verbatim without any extra characters while for char if a string is less than the set length it is padded with extra characters to equalize its length to given length

A. i, iii, iv

B. ii, iii, iv

C. i, ii, iv

D. iii, iv

Answer: Option D


Join The Discussion

Related Questions on Basic Syntax and Data Types in C Sharp