Data types of LONG, INT, SHORT, CHAR
To define the data types such as LONG, INT, SHORT, CHAR write a program?
Expert
The data type like LONG, INT, SHORT, CHAR does not describe the specific length and it can be determined only by the host machine.
a. It defines that the bits which are used with each of the types and the notation used for the above mentioned types.
b. The LONG is being referred by the prefix l whose upper-case is L.
c. INT is a variable that can be prefixed with i or ui that indicates the integer as well as unsigned integers.
d. CHAR is prefixed with c or uc which also mean character and unsigned character respectively.
e. The size of the data types are platform independent and the size of the variable also not matter.
f. They can be defined as:-
typedef long LONG; typedef unsigned long ULONG; typedef int INT; typedef unsigned int UINT; typedef short SHORT; typedef unsigned short USHORT; typedef char CHAR; typedef unsigned char UCHAR;
On occasion, some of Brewbean’s customers mistakenly leave an item out of a basket already checked out, therefore they create a new basket containing the missing items. Though they request that the baskets be combined and hence they are not charged extra shippin
State the term GPC and GPT.
Criticize the process by which the CORBA technology was designed and implemented.
Unions: Unions in C and C++ are object overlays—aggregate quantities such as structs, except that each element of the union consists offset 0, and the total size of union is only as large as is required to hold its largest member (Kernighan and
Compilation: It is a process of translating a programming language. This frequently comprises translating a high level programming language into a low level programming language, and the binary form of a specific instruction set. The translation is ex
Who is liable for XML?
Actual argument: The value of an argument enacted to a method from exterior to the method. Whenever a method is called, the real argument values are copied into analogous formal arguments. The kinds of the actual arguments should be compatible with th
Explain the sticky bit?
Define the term Pixel: It is a `picture element' - usually a colored dot on a screen.
Write a program that shows the uses of BYTE, WORD and DWORD?
18,76,764
1945520 Asked
3,689
Active Tutors
1434302
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!