What is a problem with the preprocessor statement:
#define PI 3.14159;
a) It will make a program run slower.
b) #define should be #def
c) PI should be spelled with lowercase letters.
d) The semicolon is part of the substitution text, so 3.14159; will be substituted whereever PI is used and this could lead to syntax errors.
d) The semicolon is part of the substitution text, so 3.14159; will be substituted whereever PI is used and this could lead to syntax errors.
Computer Science & Information Technology
You might also like to view...
Text added to a picture or object that helps people using a screen reader understand what the object is
a. Text effects b. Formatted text c. Alternative text
Computer Science & Information Technology
In C++11, if you want an integer literal to be treated as a long long int, you can append __________ at the end of the number.
a. L
b.
Computer Science & Information Technology