1.09. Macros and Compilation Stages

  1. What are compilation stages.[AMD jan-2026][INFOBELL] [Johnson Control] [People Tech Semiconductor Pvt. Ltd-24-07-2024] [TeraScale Inc] [Webber Feb_25,VEM Technologies Feb_2026]
  2. what is the difference between macros and inline function [Mirafra Jan-2026,AMD Dec-2025]
  3. Write a macro to find the smallest of three numbers [Mirafra Jan-2026]
  4. in compilation stages which stages this library is included? [5G Testbed] [AMI-06-05-2023]
  5. Explain about compilation stages? [AMI-06-05-2023] [Analogics-14-08-24] [ Fervid Smart Solutions Pvt. Ltd-12-2025]
  6. what kind of error and why it will give error at preprocessor stage .at preprocessor stage it will just replace the content then why it will give error? [AMI-06-05-2023]
  7. what is the Difference between macros and inline function?  [Mirafra Technologies Pvt. Ltd.]
  8. Write a macro to find the smallest of three numbers? [Mirafra Technologies Pvt. Ltd.]
  9. write a program to find the biggest number using MACROS [People Tech Semiconductor Pvt. Ltd-24-07-2024]
  10. Write a macro that will give the output is square of a number and diff b/w function and macro.  [Quanint Techsoft Private Limited]
  11. What is compiler and assembler [VEM Technologies Feb_2026]
  12. What is #pragma pack what is use of preprocess directives? [VOLTY IOT Solutions 25-06-2025]
    What conditional compilation [VEM Technologies Feb_26]
  13. Explain compilation stages of C briefly. [TeraScale]
  14. Explain the pre-processor stage in detail. [TeraScale]
  15. In every compilation stage, which file is generated? [TeraScale]
  16. What is the meaning of ./a.out? [TeraScale]
  17. What is a linker? What will the linker do? [TeraScale]
  18. How will the linker know which function to link? How does it know where to search? [TeraScale]
  19. What is static linking and dynamic linking? [TeraScale]
  20. Which linker is used in embedded C — static or dynamic? [TeraScale]
  21. What is a linker script? [TeraScale]
  22. What is a linker error? What is a syntactical error and runtime error? [TeraScale]
  23. What are pre-processor directives? [TeraScale]
  24. Explain macros. What are the advantages of macros? [TeraScale]
  25. What is the difference between macro and constant variable? [TeraScale]
  26. What is #include <stdio.h>? What happens at this line? [TeraScale]
  27. What is code optimization? Write a simple program before and after code optimization. [TeraScale]
  28. C programming compilation optimization. [TeraScale]