Monday, May 24, 2010

C language: Watz the output of this????????????

#include%26lt;stdio.h%26gt;





int fnGetResult(int *piValue)


{


int iRet = *piValue * 2;


*piValue = iRet * 3;


return iRet;


}


int main(int argc, char **argv)


{


int iNum = 10, iRes;


iRes = fnGetResult(%26amp;iNum);


printf("%d %d",iNum, iRes);


return 0;


}

C language: Watz the output of this????????????
60 20
Reply:60 20


No comments:

Post a Comment