Is there something like a "default result" in c programming? If it exists, what is the difference between “by value” and “call sign-result-result”? Or are both the same?
call sign definitionAn agreement on passing arguments, where the actual argument is the variable V whose value is copied to the local variable L inside the called function or procedure. If the procedure changes L, these changes will not affect V, which can also be in the area in the procedure, as long as the procedure returns when the final value of L is copied to V. Under the changes by reference to L, they will immediately affect V. Used for For example, BBC BASIC V at Acorn Archimedes.
call sign definition
An agreement on passing arguments, where the actual argument is the variable V whose value is copied to the local variable L inside the called function or procedure. If the procedure changes L, these changes will not affect V, which can also be in the area in the procedure, as long as the procedure returns when the final value of L is copied to V. Under the changes by reference to L, they will immediately affect V. Used for For example, BBC BASIC V at Acorn Archimedes.
Source: http://dictionary.reference.com/browse/call-by-value-result
As Oli said, C includes default behavior.
Not really. C is actually a call sign. If you need other behavior, you will have to emulate it manually.
Source: https://habr.com/ru/post/1346001/More articles:How can I reuse directshow components in Gstreamer (windows) - frameworksMonotouch: controller brought to the forefront - notice? - notificationsstrip HTML and CSS in C # - stringclick event for individual cells in gridview - c #HTMLAgilityPack analysis in InnerHTML - c #Eclipse SVN change history in Java editor - javaEmbedded GlassFish 3.1 Can no longer statically retrieve server link - glassfish-embeddedInput SImple form as float add float class - cssPaste RTMP broadcast into browser - flashrenderInContext / Memory problem - memory-managementAll Articles