"10" is not equal to '10' | difference in single and double codes (inverted commas) in C++ uncomplete



// This is written by "Syed Ali Haider"
// Student of Havjery University
// Don't remove these line for legal use
// Upload on Let's programming by (CEO)
// For contact
// key_to_programming@yahoo.com
# include <iostream>
using namespace std;

void main (void)
{
      

cout<<"10 in single inverted commas: "<<'10'; // with single inverted commas
cout<<endl<<endl;
cout<<"10 in double inverted commas:"<<"10"<<endl<<endl; // in with double inverted commas

}
// This is written by "Syed Ali Haider"
// Student of Havjery University
// Don't remove these line for legal use
// Upload on Let's programming by (CEO)
// For contact
// key_to_programming@yahoo.com


Comments

Popular posts from this blog

Umbrella activities in Software Engineering

Operating System | Best Definition of Opetating System