Home
Sign Up
Sign In
V2EX
›
算法
codewase 注册题目如何解答 c 语言版本
1
hardman
·
Nov 16, 2017
· 4726 views
This topic created in 3300 days ago, the information mentioned may be changed or developed.
int multiply(int a, char *b) { return a b; }
是题目太难还是太简单了
int
题目
multiply
codewase
1 replies
•
2017-11-17 11:43:58 +08:00
hardman
OP
Nov 17, 2017
1
答案
return a * (int)b;
两个数相乘,因为 b 是指针类型之前强制转地址
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1108 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 17:40
·
PVG 01:40
·
LAX 09:40
·
JFK 12:40
♥ Do have faith in what you're doing.
❯