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;
Break statement: A statement employed to break out of a loop, switch statement or labeled block. In all situations, control continues with the statement instantly, subsequent to the containing block.
Swapping: An {operating system} is frequently able to run programs which need more memory than is physically accessible on the host system. In order to do this, the complete memory needed is broken down into smaller pieces that are swapped in whenever
'CORBA was designed to allow high performance distributed applications to be written’. Discuss. Definitely, ’CORBA was designed to allow high performance distributed applications to be written’ because it provides:
Define the synchronization objects. Ansewr: A synchronization object is use to co-ordinate the execution of many threads.
Server: Something which gives a service. The Web server delivers resources to its clients, for example. Whenever the server is an object, this is the recipient of messages from its object clients.
What are the various functions of Interrupts and system calls?
Write a program that prints out all prime numbers between 1 and 1000. Print the values out ten per line, with digits lined in proper columns.
Define the term Sound card: It is a hardware device employed to turn digital data into sound.
Throw statement: It is a statement employed to throw an exception. For example: throw new IndexOutOfBoundsException(i+" is too large.");
Someone complains that throughout system testing the application frequently crashes. What probable process problem does which indicate?
18,76,764
1931667 Asked
3,689
Active Tutors
1448450
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!