A
ali
Hi,
I'm having a problem understanding the reason for output on the
following code:
#include <iostream.h>
int main()
{
char array[]={'w','e','l','c','o','m','e'};
cout<<array<<endl;
return 0;
}
When i run this, the output is something like this:
welcome¦+ ?
Will appreciate some help on understanding the concept.
Thanks,
ali
I'm having a problem understanding the reason for output on the
following code:
#include <iostream.h>
int main()
{
char array[]={'w','e','l','c','o','m','e'};
cout<<array<<endl;
return 0;
}
When i run this, the output is something like this:
welcome¦+ ?
Will appreciate some help on understanding the concept.
Thanks,
ali