--%>

Use of Macros used in windows-dot-h

What is the use of Macros used in header files?

E

Expert

Verified

Macros make the programming easier as well as it provides customizable features for a program.

a. Macros allow the user to write some functions which can be involved directly into the program which is being created.

b. Macros make the program short as well as make the calling from one function to another function easier.

c. Macros are used for computing instructions using the single program statements making the program task less tedious and error-prone.

e. Macros provide positional / keyword parameters to be used with the conditional assembler program.

   Related Questions in Programming Languages

  • Q : Define the synchronization objects

    Define the synchronization objects. Ansewr: A synchronization object is use to co-ordinate the execution of many threads.

  • Q : Explain Try statement Try statement :

    Try statement: The try statement performs as an exception handler - a position where exception objects are caught and dealt with. In its most common form, it comprises of a try clause, one or more catch clauses and the finally clause.

  • Q : Define Software engineering Software

    Software engineering: It is the system of applying of an engineering discipline to the implementation, design and maintenance of the software systems.

  • Q : Explain Command-line argument

    Command-line argument: The arguments passed to a program whenever it is run. The Java program receives such in the single formal argument to its major method: public static void main(String[] args)

  • Q : Explain Structured programming

    Structured programming: It is a style of programming generally related with languages like FORTRAN, C, Pascal and so forth. Employing structured programming methods, a problem is frequently resolved employing a divide and conquer approach like stepwis

  • Q : Define Iteration Iteration : The

    Iteration: The repetition of a set of statements, generally employing a looping control structure, like a while loop, for loop and do loop.

  • Q : What is Homogeneous collection

    Homogeneous collection: A group of objects with similar dynamic type. Arrays are the most general homogeneous collection objects.

  • Q : Different layers in Windows Architecture

    Explain how many different layers comprise in Windows Architecture?

  • Q : Define the term server-side XPointer

    Define the term server-side XPointer?

  • Q : Define the term Case label Case label :

    Case label: The value utilized to select a specific case in a switch statement.