Which error occurs when I use #define a=6; and the assign it some other value say a=9; | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Which error occurs when I use #define a=6; and the assign it some other value say a=9;

Error that occurs when a variable which is defined using #define is assigned some other value

18th Jun 2019, 2:22 AM
Akash Raj
Akash Raj - avatar
1 Answer
0
a run time error will occur
18th Jun 2019, 6:17 AM
Amandeep
Amandeep - avatar