Variadic Functions in C Programming | ALX PEER DISCUSSION

preview_player
Показать описание
In this ALX peer learning discussion, we discussed what variadic functions are and how to use them in writing programs in C language. Here is a list of the things covered in this discussion

* What are variadic functions in C programming
* Why we need variadic functions
* When you will need to use variadic functions
* How to use variadic functions
* Understanding and using the various macros (va_list, va_start, va_args, va_ends)
* Practical examples of usage of variadic functions

Link to github repo with codes used in this discussion:
*******************************************************************************************************
Note that this video is part of a playlists of our discussions and before this specific video we had a number of concepts in C programming.

**************************************************************************************************
This is an unedited recorded session of peer discussion amongst ALX Software Engineering students (May 2022 cohort)
**************************************************************************************************

Рекомендации по теме
Комментарии
Автор

I wish I could have a PLD like this. Thank you. This is far better than the Live Learning Sessions

victoryamadi
Автор

really made me understood variadic function to the fullest. Cant thank you enough for your detailed explanations and examples.

babalolakehindebenjamin
Автор

You are superb Obed. Keep bringing us lectures like this. Thanks and love from India.

ankitsaurabh_
Автор

Awesome video.
I wish there is a way to give this video multiple likes.
Thanks for the impact, it's really making a difference.

Great job 👍

aduragbemioduntan
Автор

Very detailed and beginner friendly, I recommend this video for anyone battling with variadic functions.

eyethugwacela
Автор

God bless you Doc. Thanks very much for this.
For va_arg macro function taking char as int is because of "default argument promotions" where each argument that is part of the variable list undergoes additional conversion.
Float arguments are converted to double as in "floating point promotion", while bool, char, short and unscoped enumerations are converted to int as in "integer promotion."

_elgibbor
Автор

This is really clear and very explanatory

funmilolaomoruyi
Автор

Bravo
Painstakingly explained
Thank you

joebosah
Автор

I'm loving the video already after watching for a min

khumbizechimsale
Автор

this was very helpful, thanks very much

AhmedMohamed
Автор

Thanks so much Obed your explanation is super greater am looking to go for project now

futurejoshua
Автор

Lovely video, thank you so much for sharing !

vodinaefem
Автор

you did a great job thanks, well done.

ABUHMOSES
Автор

Thank you so much, Dr. I am being made by your kind of explanations. we are kindly requesting your Printf link, it has given us hard time.

alfredbalazirelurhakongola
Автор

Very informative! Keep up the good work.

isaacazameti
Автор

Thanks for sharing your knowledge sir. But you didn't upload the printf video.😢

phumelelemdlalose
Автор

#inlude "printf.h"
int _printf(cons char *format, ...)
{
*format = %d, %s, %c;
va_list my_pritf;
va_start(my_printf, args);
if (*format == %d, %s, %c)
write (1, format, 1, strlen(c), strlen(s))
}

NzewunwaGraceOnyinyechi-sves
Автор

In summary macros are like libraries. Right?

josiahufono
Автор

Hello. What are the specs of your laptop ?

stephan
Автор

Please how can I join such a PLD? I'm so much in need of this learning group. Any telegram channel that I can join?

solomonpeter
join shbcf.ru