CS Electrical And Electronics
@cselectricalandelectronics

How much memory is allocated for PI in C? #define PI 3.141

All QuestionsCategory: Embedded SystemHow much memory is allocated for PI in C? #define PI 3.141
vaishnavi.talawar asked 2 years ago

a) size of a float variable
b) size of double variable
c) no memory is allocated, as it’s just a substitution where it is used
d) Syntax error, the semicolon is missing at the end of the line

1 Answers
Rushi answered 2 years ago

B