Ans: There are the following descriptions of contrasts between macros and functions:
Ans: Compilers and interpreters commonly discuss how to execute program codes. The performers execute one line of program codes, whereas the compilers take the complete program and turn it into object code before it is executed. The main distinction is that a program can meet and halt syntax problems for interpreters in the middle of execution. Compilers, however, examine the syntax of the whole program and only execute if no syntax problems are detected.
Ans: Both functions accept the user's input character value. If you use getch(), you do not see the key pushed on the screen, it is recorded and given to a variable automatically. The key pushed by the user appears on the screen while being allocated to a single variable when using getche().
Ans: The selector and offset are the components of a virtual address. An explicit selector has no near-pointer, but a large pointer has an explicit selector. The selection is not updated when the pointer arithmetic is executed on the distant pointer, although it can be modified if the pointer is large. The keywords and implementation-specific are non-standard. In a modern platform, these are irrelevant.
Ans: An algorithm must be designed first before a program can be built. A step-by-step method on how to obtain a solution is provided using an algorithm. They also serve as a template for starting and ending a program, including procedure and calculation.