answersLogoWhite

0


Best Answer

varying no of arguments

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Macros and function are related in what aspect?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is character oriented function?

What about strchr? Or, isdigit and its family (often implemented as macros, though)?


What are the uses of macros?

With macros, you can perform long or boring tasks just by a single click or keystroke combination. Also, you would not need to repeat the same action over and over again.


Is macro a recursive function?

If you're asking if the c preprocessor supports recursive macros, the answer is no. The preprocessor is single-pass and since the "function" must be defined before it can be referenced, it can not be recursive.


What is the difference between macro and inline function in c plus plus?

Macros are not actually part of the C++ language; they are nothing more than a simple text-replacement system intended to simplify your coding. Macros do not adhere to C++ type safety and cannot be debugged because macros are preprocessed, prior to compilation. Your compiler can only see the preprocessed code, not the original source code, and therefore cannot debug macros because the macros no longer exist at that point. Inline functions are functions that can be debugged like any other function, but the compiler is able to eliminate the overhead of function calla by replacing those calls with inline expanded code. This is not unlike a macro, which is by definition inline expanded, but retains the built-in type safety and debugging capabilities of the C++ language itself. Typically, if you can use an inline function (or C++ is general) then that is always the preferred option. But if a macro can achieve more than can be achieved with C++ alone, or can otherwise simplify the equivalent C++ code, then use a macro. Just keep in mind that macros are not type-safe and cannot be debugged by the C++ compiler.


What are macro languages and its features?

A macro is a fragment of code which has been given a name. Whenever the name is used, it is replaced by the contents of the macro. There are two kinds of macros. They differ mostly in what they look like when they are used. Object-like macros resemble data objects when used, function-like macros resemble function calls.Give symbolic names to constants, so global changes need be made in only one place.Conditionally compile blocks of code.Abbreviate or customize the language of frequently used blocks of coding where a subroutine call is not desired.Improve readability of the code to make its structure and purpose more obvious.

Related questions

Where can you download macros?

You do not really download macros, but you can get lists of code to create your own macro. There are many locations you can find if you search for "sample excel macros." You will find some examples at the related links.


What is character oriented function?

What about strchr? Or, isdigit and its family (often implemented as macros, though)?


What is functional aspect?

its an aspect that depends on function xD !


What are the uses of macros?

With macros, you can perform long or boring tasks just by a single click or keystroke combination. Also, you would not need to repeat the same action over and over again.


Is macro a recursive function?

If you're asking if the c preprocessor supports recursive macros, the answer is no. The preprocessor is single-pass and since the "function" must be defined before it can be referenced, it can not be recursive.


Why do you use macros?

Macros are used to automate repetative tasks.


Why you use macros?

Macros are used to automate repetative tasks.


How you run the macros into Microsoft Excel?

You can open the Macros section and run macros from there. The quickest way to do that is press Alt - F8. You can also run macros by clicking on buttons or other objects that you have assigned them to.


How do you get Macros to work on newer versions of Excel?

There can be many reasons why your macros are not working. Check security settings to ensure your version of Excel has macros enabled. Many times, the default installation disables the ability to use macros. Ensure you accept security certificates for the author of the macros.


How do you run VB in Microsoft Excel?

You can do it by creating macros and then editing the macros. The macros or set of code can be applied to a button. It will depend on the version of Excel you have, but you can usually start creating macros or writing code through the Tools menu.


In physiology function is related to its?

In dealing with physiology, function is related to its?


Are macros better than subroutines?

Generally no. When you have the choice, use a subroutine rather than a macro function, especially in strongly-typed languages. Macros are difficult to maintain, are not type safe, are always inline expanded (even when the inline optimiser is disabled) and the compiler cannot help you debug them. Subroutines have none of these problems. Macros have their uses, especially in debug code where the code can be collapsed to a no-op in release builds. However, the onus is entirely upon the programmer to ensure the macros are used correctly.