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;
What are the differences between logical and physical address spaces?
The kind of value that a variable can own is known as data type. When we state a variable we require specifying the type of value it will own with the n
Memory leak: It is a situation in which memory which is no longer being employed has not been returned to the pool of free memory. The garbage collector is designed to return unreferenced objects to the free memory pool in order to shun memory leaks.<
Illustrates the parts of an XML document are case-sensitive.
Polymorphism: It is the ability of an object reference to be employed as if it referred to an object with various forms. The polymorphism in Java outcomes from both class inheritance and interface inheritance. The actually different forms frequently o
Write a code in a c++/java for the automaton distributed in the class which accepts keywords(cat,bat,cab). Create an input file with these words may be two or three copies of these words scattered in a paragraph and show that your program does accept these words and gives an output to that
Garbage collector: It is a daemon thread which recycles objects to which there are no extant references in a program.
How do I know that platform security abilities my S60 3rd Edition application needs?
Write basic difference between JavaScript and AJAX ?
Swing: The Swing classes are portion of a wider collection termed as the Java Foundation Classes (abbreviated as JFC). The swing classes are stated in the javax.swing packages. They give a further set of components which extend the capabilities of Abs
18,76,764
1956630 Asked
3,689
Active Tutors
1412115
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!