Skip to content

Tag Archives: cpp-data-types

A Char datatype is a datatype that is used to store a single character. It is always enclosed within a single quote (‘ ‘). Syntax: … Read More
There are mainly 3 types of Numeric Data Types in C++ int  unsigned int short int unsigned short int  long int unsigned long int long… Read More
Integers in C++ are allocated with a certain number of bits. If an integer value, takes more bits than the allocated number of bits, then… Read More
In this article, we will discuss the int data type in C++. It is used to store a 32-bit integer.  Some properties of the int… Read More
A user-defined data types are designed by the user to suit their requirements, the compiler does not support automatic type conversions for such data types… Read More
Run-time Constant: These are the constants whose respective values can only be known or computed at the time of running of source code. Run time… Read More
typeid is an operator in C++.  It is used where the dynamic type or runtime type information of an object is needed. It is included… Read More
Argument coercion is a feature of function prototypes by which the compiler implicitly converts the datatype of the arguments passed during the function call to… Read More
any is one of the newest features of C++17 that provides a type-safe container to store single value of any type. In layman’s terms, it… Read More
In one line, There is nothing in Java which is equivalent to typedef of C++. In Java, class is used to name and construct types… Read More
Data types are means to identify the type of data and associated operations of handling it. There are three types of data types: Pre-defined DataTypes… Read More
A type cast is basically a conversion from one type to another. There are two types of type conversion: Implicit Type Conversion Also known as… Read More
long is a keyword in Java that symbolises the Long datatype. The long data type is a 64-bit two’s complement integer with: Size: 64 bit… Read More
Setting the initial value of an object to zero is called the zero initialization.Syntax:   static T object; Tt = {} ; T {} ; char… Read More
What do you think happens when you use an uninitialized primitive data type? Well you may assume that the compiler should assign your primitive type variable… Read More

Start Your Coding Journey Now!