Return Statement In A Void Function | C Programming Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Your videos are great review for guys who studied C few decades ago and want to refresh. Thank you Kevin.

fifaham
Автор

I've never thought we could use return statement like that. Nice vid as always!
I've been binge watching your tutorials to build a project for one of our subject XD

lenardskie
Автор

Thought I knew all this already but I didnt know about returning another void function call ("return length_error();"). Neat.

Erlisch
Автор

Void duncions can also return values, but hir their is no restrictions about it's type, you can return multiple type of values in the same function. Juste remember to make structure your program so that the void function don't return a value to a variable that is not compatible with it's type.

amineaitsaidi
Автор

Grazie Professore sto imparando funzione del C che non sapevo 👍👍

massimorusso
Автор

Красавчик! Очень полезные видео! Давай ещё!)

alexandrstrekalovskiy
Автор

Hi sir useful information about Return keyword Thanks a lot . What happens when we do not use return statement in the calling function in C?

ramakrishna
Автор

Could you make a video covering the topic of Regex? (regular expressions I think).

germankoga
Автор

Just because you can do it doesn't meant you should do it.

michaelfrankel
Автор

Hi sir I think instead of using return in c we can use EXIT_SUCCESS,  EXIT_FAILURE instead of 0 or non zero value . I have seen many people or programmers don't explain about exit sucess and exit failure can you tell me the difference and why it's used ..

ramakrishna
Автор

./program && echo "executed successfully" || echo "Failed!"
Your program returns 0 but actually fails with error. I think it would be better to use exit(1) instead. If I'm wrong please correct me.
(exit code should be set depending on OS/environment)

alexk
Автор

Hi...Can you please make a video on how the printf function is implemented in detail
Thank you.

bpngd
join shbcf.ru