C uses the uppercase letters A to Z, the lowercase
letters a to z, the digits 0 to 9, and certain special characters as building
blocks to form basic program elements (e.g. constants, variables, operators,
expressions, etc). The special characters are listed below: + - * / = % & #
! ? ^ “ ' ~ \ | < > ( ) [ ] { } : ; . , - (blank space) (Horizontal tab)
(White Space) Most versions of the language
also allow certain other characters, such as @ and $ to be included with
strings & comments.
Answer: Manipulators are special functions that can be included in the I/O statement to alter the format parameters of a stream. Table-2 shows some important manipulator functions that are frequently used. To access these manipulators, the file < iomanip.h > should be included in program. Table-2 Manipulators Equivalent ios function set...
Comments
Post a Comment