Consider the following code snippet
const pi=3.14; var pi=4; console.log(pi);
What will be the output for the above code snippet?
A.This will flash an error
B.Prints 4
C.Prints 3.14
D.Ambiguity
Answers
Answered by
1
c number is correct to answer
Similar questions
Science,
6 months ago
English,
6 months ago
Biology,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Physics,
1 year ago