Popular Articles

From the 8th century the Muslim invaders began to make forays into Hindustan and by the 12th century the entire North India and the throne at Delhi had
At one time Russia rivaled the USA as a global power, but then came Gorbochov and we all know that Russia broke up into 18 states. This was also the end
Riding a bike in the hills is a matter of great pleasure. It is also an adventure, to be relished long after it has past.  Riding a bike in the

Latest Articles

Subhas Chandra Bose was a rival of Gandhi and during the war he threw his lot with the Fascist powers and joined them. He had a one point agenda to overthrow
At one time Russia rivaled the USA as a global power, but then came Gorbochov and we all know that Russia broke up into 18 states. This was also the end
I had in an earlier post pointed out that the great Hindu warrior  Hemu was struck by an arrow in his eye in the third battle of Panipat and lost

////////////////////////////////////////
#include

////////////////////////////////////////
// The main() function.
////////////////////////////////////////
int main()
{
     // Three uninitialized variables, different types.
     char myChar;
     short int myInt;
     long myLong;

     // An initialized variable of yet another type.
     float myFloat = 7e4;

     // Assign and convert.
     myChar = myInt = myLong = myFloat;

     // Display the variables.
     std::cout << myChar;
     std::cout << ' ';
     std::cout << myInt;
     std::cout << ' ';
     std::cout << myLong;
     std::cout << ' ';
     std::cout << myFloat;

     return 0;
}

  • No comments found