#include <iostream> using namespace std; // write your logic here constexpr int a = 12; int main() { static_assert(a == 12, "Failed"); cout << "passed"; return 0; }
In c++ must use consexpr without it gives error.
Test Cases
Test Results
Expected Output
passed