Which of the following C++ code will give error on compilation?
CODE:1

#include <iostream>
 using namespace std;
 int main(int argc, char const *argv[]) 
{
 cout<<"sookshmas";
 return 0; 

CODE:2

 #include <iostream> 
int main(int argc, char const *argv[]) 
 std::cout<<"SOOKSHMAS";
 return 0; 
}

Posted on by