πŸ“Š JavaScript
Q. What will be the output of the following JavaScript code?
Code:
int x=0;
for(x;x<10;x++);
console.log(x);
  • (A) 0
  • (B) 9
  • (C) 10
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 10

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
178
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
81%
Success Rate