C++ Programming
CHARACTER TYPES MCQs
Total Questions : 10
None.
The standard does NOT require a char to be 8-bits, but does require that sizeof(char) return 1.
In C++, sizeof('a') == sizeof(char) == 1. In C however, sizeof('a') == sizeof(int).
The standard does not specify if plain char is signed or unsigned. There are three distinct character
types according to the standard: char, signed char and unsigned char.
The value '`setminus`012' means the character with value 12 in octal, which is decimal 10.
wchar_t and char is used to represent wide character and character.
A wide character is always indicated by immediately preceding the character literal by an L.
The literal value for 74 is J. So it will be printing J.
Every character constant has an integer value. Also char belongs to the integral type hence arithmetic
and logical operations can be performed on them.
None.
Recent Questions
Q. The Mortar In Which Both Cement And Lime Are Used As Binding....
Q. In....
Q. High Temperature In Gasification Of Coal Favours
Q. The __________ Engines Can Work On Very Lean Mixture Of Fuel....
Q. Ch....
Q. Purification Of Blood Takes Place In
Q. What Is The Minimum Vapour Pressure (in KPa) Of The Working ....
Q. The Kaposi’s Sarcoma Is Caused By ____________________
Q. Neutral Atmosphere Is Maintained In A/an __________ Furnace.....
Q. Raju Has 14 Currency Notes In His Pocket Consisting Of Only....
Q. " You Are Thinking Very Highly About Ravi But He Is Not....
Q. The Range Of Electromagnetic Spectrum Important In Heat Tran....
Q. Th....
Q. January : November : : Sunday : ?
Q. Consider The Following Statements.There Are 25 High Courts I....
Q. T....
Q. In Which Type Of Sedimentation, The Flocculent Suspension Of....
Q. Hardening Of Metal Is Due To Heating To A Particular Temper....
Q. Which Of The Following Materials Has The Highest Electrical ....
Q. ....