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 is the QuickTest Pro testing process?
What is Unique Identifier and how do I determine one?
What are the benefits of automated testing over manual testing?
Write a program that prints out 20 random cards form a standard deck of 52 cards. Make sure the program prints out different sets of cards from one run to the next.
Define owns to the Kernel Object? Answer: Kernel objects are owned through the kernel, not through a process.
Define the term Heterogeneous collection: It is a collection of objects with distinct dynamic types
When does a name clash take place in programming?
Explain the new features of the ASP.NET AJAX 4.0?
Write down some of the benefits of the event-delegation model over event-inheritance model?
18,76,764
1931642 Asked
3,689
Active Tutors
1438167
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!