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;
Class inheritance: Whenever a super class is expanded through a sub class, a class inheritance relationship exists among them. The sub class inherits the attributes and methods of its super class. Class inheritance in Java, is single
Graphical User Interface: A Graphical User Interface (abbreviated as GUI) is a part of a program which permits user interaction through graphical components, like menus, buttons, text areas, and so forth. Interaction frequently includes the usage of a
How much would it cost to create a simple database management information system by utilizing MySQL and PHP?The proposal of the system should include the following: Background narrative of setting and background of problem m
Append mode: It is a file writing mode, in which the existing contents of a file are maintained whenever the file is opened. Novel contents are appended to the existing.
Radio buttons: It is a group of selectable components in which merely one component might be selected. The selection of one of the group that causes the previously chosen component to be deselected.
Hexadecimal: Number representation in hexadecimal is base 16. In base 16, the digits 0-9 and the letters A to F are utilized. A symbolizes 10 (base 10), B symbolizes 11 (base 10), and so forth. Digit positions symbolize successive pow
Illustrates XML is an important development.
Strings, Pointers, Arrays, Structures, and File I/O in C In this lab you will develop a few programs that will give you some practice with pointers, arrays, str
Explain how many different layers comprise in Windows Architecture?
What do you mean by data movement? Describe in brief.
18,76,764
1960962 Asked
3,689
Active Tutors
1440061
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!