+ 2
What is the reason for not accepting this quiz ?
//Declined due to community downvotes. Please review What is the output of this code? int main(){ int a=4; cout<<a/pow(a,2); return 0; }
6 Answers
+ 4
If you run it in the code playground, it results in an error. This is because it doesn't recognize the function pow as it is not a built-in function within C++.
+ 2
When people are reviewing quizzes, they have an option to either upvote it or downvote it. For it to pass, you would need to get 3 upvotes and for it to be declined, it needs 3 downvotes. From what it seems, enough people downvoted your quiz for it to be declined.
+ 2
@Faisal can you find anything wrong in the question ?
It was declined twice.
+ 2
pow is in "math.h". there already exist quizzes which use library functions without explicitly mentioning that such library is included.