Berlangganan

About Me


contoh 11

# include <iostream.h>
void main ()
{
    int m = 66, n ;
    n =++m;
    cout<<"m = "<<m<<", n ="<<n<<endl;
    n = m++;
   cout<<"m = "<<m<<", n ="<<n<<endl;
    cout<<"m = "<<m++<<endl;
    cout<<"m = "<<m<<endl;
    cout<<"m = "<<++m<<endl;
}

output

m = 67, n = 67
m = 68, n = 67
m = 68
m = 69
m = 70

0 Response to "contoh 11"

Post a Comment