Function of STR and LPSTR
Explain what is the function of STR and LPSTR?
Expert
STR is a datatype which has the storage allocation in place as well as it consists of the strings that are treated as an array.
a. They use pointer to point to the objects which is simple character.
b. The variable that is used with the data type is “sz” as it is a zero-terminated string that is a string which ends with a NULL character.
c. LPSTR is defined as Long Pointer to STR (string) and it is given as: #define STR * LPSTR;
d. This can be used to point to the string objects and it can also explicitly define the ASCII code rather than Unicode.
e. The variables are prefixed with “lpsz” and it involves the long pointer to the string which having zero-terminated.
Explain win 3.1 supports which form of multi tasking?
Variable: It is the memory block of specific size where value can be stored and modified throughout program execution. Example: int x, float y, float amount, char c;
Q. What are the advantages of Object Oriented Programming languages? Explain them. Ans. : Object oriented programming language has following advantages- Q : Define Byte code Byte code : Java Byte code: Java source files are converted by a compiler into bytecodes that is, the instruction set of the Java Virtual Machine (JVM). The Bytecodes are stored in the .class files.
Byte code: Java source files are converted by a compiler into bytecodes that is, the instruction set of the Java Virtual Machine (JVM). The Bytecodes are stored in the .class files.
Two dimensional array: A two dimensional array is a continuous memory location having similar kind of data arranged in row and column format (such as a matrix structure). D
Disk drive: It is a hardware device employed to store the data. They come in numerous forms, like floppy disks, compact disks, and hard disks.
Define the term SOAP.
Package declaration: It is a declaration employed to name a package. This should be the first item in the source file, preceding any import statements. For example, pa
Assignment 5 Selecting Array Elements Implement the following C++ code in assembly language, using the block-structured .IF and .WHILE directives. Assume that all variables are 32-bit signed integers: int array[] = {10,60,20,33,72,89,45,65,72,18}; int sample = 50; intArraySize = s
Interpretational inner class: It is an inner class whose role is to give a view or interpretation of data belongs to its enclosing class, however independent of the data's real representation.
18,76,764
1932620 Asked
3,689
Active Tutors
1430398
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!