what is the output of the following programs....
Code:
main()
{
  int c,i=5;
  if(i<10)
  {
     i++;
     c=i;
     cout<<c;
   }
}
what is the output????
Than,,,
Code:
main()
{
  int c,i=5;
  if(i<10)
  {
     ++i;
     c=i;
     cout<<c;
   }
}
what is the output????
I think the above 2...