just lately i heard about macros in C, and i was wandering what are they used for and how are they written? Can please someone tell me this.
Macros in C
macros is like a function
text of macros is putting every time ,when you use it in a programm(function - 1 time)
and this is a processor directive , that means nothing else can have its name
so macros is used to avoid mistakes when you use some operation many times