C Programming for Beginners 23 - Passing Pointers as Function Arguments

preview_player
Показать описание
My Websites -

Passing pointers to functions in C
A Beginner's Guide to Pointers
Pointers as Function Arguments
Passing pointers to functions in C with example
The Function Pointer Tutorials
An Introduction to Pointers in C
Passing Pointers to Functions
Basics of Function Pointers in C
Passing pointers correctly - The GNU C Programming Tutorial
#Tutorial #Programming #C #Beginner's #example #Functions
Рекомендации по теме
Комментарии
Автор

"...In this video we will C..."
Ooh I see what you did there

whenthethebeansstrikeback
Автор

You should have mentioned that an array name without the brackets is the same as a pointer to the adress of the first element of the array or else a beginner might get onfused.

personanongrata
Автор

You should have named your function "setValue, " since that's what you're actually doing. A "getValue" function should return something...shouldn't it? Remember the whole C++ "getters and setters" thing? Setter (mutator) functions SET some value, while getter (accessor) functions GET (return) some value. 


You did this in the second part of the video, which was much better. But to be honest, your logic escapes me in some of these videos.

bluehornet
Автор

You are returning nothing in void func. Can I ask you why you do that?

EeAlex
visit shbcf.ru