Constant | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Constant

I didn’t clearly understand constants even after taking the constants lessons in C......could someone explain me??? macros tooo plz tell me what is macros

6th Nov 2020, 5:15 PM
Y.Rashid
Y.Rashid - avatar
2 Answers
+ 1
C Constants is the most fundamental and essential part of the C programming language. Constants in C are the fixed values that are used in a program, and its value remains the same during the entire execution of the program. And about Macros, a macro is a fragment of code that is given a name. You can define a macro in C using the #define preprocessor directive. Here are more information: https://www.programiz.com/c-programming/c-preprocessor-macros
6th Nov 2020, 5:27 PM
Carbon
Carbon - avatar
+ 1
thank you
6th Nov 2020, 5:28 PM
Y.Rashid
Y.Rashid - avatar