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 : Modeling Language for SPIN-Promela

    Modeling Language: The modeling language used for SPIN is called Promela (Process Meta Language). In fact, the name SPIN stands for Simple Promela Interpreter. Promela is a powerful C-like specification language with a variety of synchronization primi

  • Q : What is a Port Port: It is a number

    Port: It is a number employed by a procedure to communicate with the other procedure across a network, employing the Transmission Control Protocol (abbreviated as TCP) or User Datagram Protocol (abbreviated as UDP), for instance.

  • Q : What is Signal Handler Signal Handlers:

    Signal Handlers: In some operating systems, signal handlers are executed on a thread stack; they “overlay” the current thread execution (which may be used, for example, in combination with setjmp/longjmp to create user-domain lightweight t

  • Q : Explain Method overloading Method

    Method overloading: Two or more techniques with similar name stated within a class are said to be overloaded. This exerts to both constructors and other methods. The overloading applies via a class hierarchy, thus a sub class may overload a method sta

  • Q : Who developed Extensible Hyper-Text

    Who developed Extensible Hyper-Text Markup Language? Answer: XHTML (Extensible Hyper-Text Markup Language) was developed by W3C HTML Working Group along with Steven

  • Q : Define Keyword Keyword : They are

    Keyword: They are reserve word containing special meaning of the language and cannot be employed as identifier.

  • Q : State the term XHTML State the term

    State the term XHTML?

  • Q : Use of UpdateProgress control in AJAX

    What is the use of UpdateProgress control in AJAX?

  • Q : What are Literals What are Literals and

    What are Literals and also state their respective types?

  • Q : Who Issues Certificates and how Who

    Who Issues Certificates and How?

©TutorsGlobe All rights reserved 2022-2023.