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;
Give two ways in which a Java program is less likely to be compromised than the same program written in C++.
Explain myriad of computer systems of your target users?
Define the term Trusted applet: It is an applet with additional privileges than an ordinary (that is, untrusted) applet.
Window manager: This is a window manager which provides a computer user with a virtual desktop having one or more windows and working regions in which individual programs might be run. Window managers permit the contents of a user's desktop to be arra
Write a program that enters some text into a char string called char text[100] and does the following: a) Calls a function called void vowels(char text[]) that prints out how many times each vowel (a/A, e/E, I/i, O/o, U/u) was foun
Assignment 1: Algorithms Rules: See the Assignment Rules file on the class Moodle site. 1 Reading Algorithms (20 points) Input: A nonempty string of characters S1S2 . . . Sn, and a positive integer n giving the number of characters in the string. Output: See t
What are the applications of testing life cycle?
Explain the benefits of distributed systems.
What is meant by the single users system?
State the term Web application?
18,76,764
1944074 Asked
3,689
Active Tutors
1428285
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!