adspace
State the differences between a procedure and a macro.
Answer Posted / Sunil Kumar Rana
A procedure is a collection of program instructions that performs a specific task. It can accept parameters, return values, and have local variables. A macro, on the other hand, is a shorthand notation for a frequently used set of instructions within the assembler language. Macros do not have their own memory area, and they cannot accept parameters or return values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers