[討論] 台綜 105 問答題 請求詳解~
Implement a C++ function that swaps two integers, and use pointers as
arguments. Implement the other C++ function that computes the factorial of
the summation of the two integers using rvalue references as arguments. The
function of computing the factorial needs to be a recursive function.
Implement a C++ program that uses these functions. The user can input two
integers as 2 and 5, and the program needs to show the results of the
functions
請問這題的詳解
順便問一下這種題目通常是大家都寫的出來的嘛?
拜託大家了~~
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.127.41.250
※ 文章網址: https://www.ptt.cc/bbs/TransCSI/M.1522654206.A.DF5.html
推
06/26 00:48,
6年前
, 1F
06/26 00:48, 1F