Monday, 30 December 2013

Concate 2 strings

void myMethod()
{
    // Two strings are declared and initialized
    str a="Hello", b="World";
    ;
 
    // The concatenation of a, " " and b is printed in a window.
    print a+" "+b;
    pause;
}

No comments:

Post a Comment