prints as a C language version of expr.
Examplesopen allclose all
Properties & Relations (2)
Possible Issues (2)
Names of functions output by CForm may be different from the names used by the specific C library:
Even when an output omits CForm from the top level, it is not stripped from subexpressions:
The output does not have CForm in it:
However, the variable e does have CForm in it, which may affect subsequent evaluations:
The product is not evaluated due to the intervening CForm:
Assign variables first and then apply CForm to the result to maintain computability:
Wolfram Research (1988), CForm, Wolfram Language function, https://reference.wolfram.com/language/ref/CForm.html.
Wolfram Language. 1988. "CForm." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CForm.html.
Wolfram Language. (1988). CForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CForm.html