Tuesday 7 October 2014

Write a c++ programme to print semi-colon without putting semi-colon in cout statement?

Leave a Comment
#include"iostream"

using namespace std;

void main()


{
//59 is the ascii value of semicolumn

cout<<(char) 59<<endl
system("pause");

}
 

 
If You Enjoyed This, Take 5 Seconds To Share It

0 Questions: