Select The Correct Differences Between Char And Varchar Data #30
Select the correct differences between char and varchar data types?<br /> i. varchar is non unicode and char is unicode character data type<br /> ii. char is 'n' bytes whereas varchar is actual length in bytes of data entered in terms of storage size<br /> iii. varchar is variable in length and char is the fixed length string<br /> 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
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Data Types, Variables and Operators - Char Types and String Literals - Quiz No.1.