Contoh untuk ++ sebarang pertanyaan boleh diajukan ruangan comment post ini :D
#include
#include
void main ()
{
int i=-3,j=-3,k=-3, x=-3;
printf("\n x=%d",x);
printf("\n i=%d",i);
printf("\n j=%d",j);
printf("\n k=%d",k);
x++;
++i;
j--;
--k;
printf("\nni lepas calculation");
printf("\n x=%d",x);
printf("\n i=%d",i);
printf("\n j=%d",j);
printf("\n k=%d",k);
getch();
}
No comments:
Post a Comment