answersLogoWhite

0


Best Answer

no

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can an integer data type in c plus plus stores character value?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Primitive java data types?

The primitive data types in Java are:int: integer value from -232 to 232floatdoublelong: integer value from -264 to 264byte: integer value from -128 to 128char: charactershort: integer value from -32768 to 32768boolean: true or false valueString (not actually a primitive data type)


What is data and define its type?

Data is information. Data type defines the type of data - integer, character etc


Why is char often treated as integer data type?

The char data type is an integral type and can therefore be used to represent integers as well as characters. However, in order to treat the representation as an actual integer, it must be explicitly converted to a non-character type, such as int.


How do you store character and integer using structure?

Declare a structure with integer and character data members in it. Eg:struct node{int integer;char character;};Now you can use this structure definition to store the values. Eg:struct node temp;//declaringtemp.integer = 5;temp.character = 'a';


What is parseint in javascript?

it is used to convert the string value that we get from the users to integer data type


What are the three basic types of data?

Java has a total of 8 primitive data types# byte: The byte data type is an 8-bit signed two's complement integer. It has a minimum value of -128 and a maximum value of 127 (inclusive). # short: The short data type is a 16-bit signed two's complement integer. It has a minimum value of -32,768 and a maximum value of 32,767 (inclusive) # int: The int data type is a 32-bit signed two's complement integer. It has a minimum value of -2,147,483,648 and a maximum value of 2,147,483,647 (inclusive). # long: The long data type is a 64-bit signed two's complement integer. It has a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807 (inclusive). # float: The float data type is a single-precision 32-bit IEEE 754 floating point. # double: The double data type is a double-precision 64-bit IEEE 754 floating point. # boolean: The boolean data type has only two possible values: true and false. # char: The char data type is a single 16-bit Unicode character. It has a minimum value of '\u0000' (or 0) and a maximum value of '\uffff' (or 65,535 inclusive). In addition to the eight primitive data types listed above, the Java programming language also provides special support for character strings via the java.lang.String class. Enclosing your character string within double quotes will automatically create a new String object;For ex: String name = "Rocky"; would create a new String object of name "name" and holding an initial value "Rocky"


What data type is age?

integer data type


What are literals in java?

In Java, a literal is the source code representation of a fixed value and are represented without requiring computation. The various types are Integer, Floating-Point, Character and String literals.


Why percentage i is not used for integer data-type in c language?

C is statically typed. There is no need for dollar or percentage symbols to differentiate between character/string data and numeric data.


What are SQL server data types?

SQL server data types include integer, character, date and time, monetary, and binary strings. These types are divided into groups including approximate numerics, exact numerics, character strings and unicode character strings.


Three different ways for checking Data is Valid?

One can check if data is valid by checking if a value is within acceptable set of values; by checking if a value is of the correct data type (such as Boolean, integer, double, or string); or by checking is data is formatted correctly.


What primitive data types can normally be represented and processed by a CPU?

The primitive data types that can normally be represented and processed by a CPU are an integer, real number, character, Boolean, and memory address