分享124 daniel19841003吧 daniel19841003 048_C语言_指针立方值2int main(void){int number = 5;printf("The original value of number is %d", number);cubeByReference(&number);printf("\nThe new value of number is %d\n", number);return 0;}void cubeByReference(int *nPtr){*... 分享1赞 c...
//最简单的方法int a=abc;int x,y,z;x = a/100;y = (a/10)%10;z = a%10;if(a==(x*x*x+y*y*y+z*z*z))printf("%d是水仙花数",a);