#30: Preprocesor and Macros | C Programming for Beginners

preview_player
Показать описание
#30: Preprocessor and Macros | C Programming for Beginners

In this video, we will learn about preprocessors and macros. We have been using preprocessor in all our programs. Similarly, we will learn about macros, macros are a piece of code that is given some name. For example, #define PI 3.1415, here PI is a macro. So, from this video, you will know the exact meaning and use of preprocessor and macros with specific examples.

~
Resources:

Timestamps:
00:55 - #include Preprocessor
04:24 - #define Preprocessor
06:45 - Define Function Macros
07:59 - Programming Task
08:42 - Quiz

Revise your learning using our C App

Find Programiz elsewhere:

#programiz #preprocessor #macros #C #include #define #cprogramming
Рекомендации по теме
Комментарии
Автор

🚀 Loved the tutorial? Take it further with Programiz PRO!
Refine your skills, conquer coding fears, and build confidence with interactive lessons, quizzes, and challenges. Strengthen your programming foundation and master C today!

programizstudios
Автор

I just want to say thank you for compiling this video. I've learned a lot watching them and I'm happy to say that I'm one of the top student in our programming class!

daaaaawn
Автор

Thank you for all 30 videos. They were very helpful and fun to watch.

mamalojzka
Автор

Been following this entire series since day one. I have my A level Computer Science exam next week Thursday. Thank you so much for all your guidance and practice😄❤

matteovespertine
Автор

wahh i used to not like programming and i had no idea about it at all when we had prog subject during 10th grade (the teacher was bad lol). now i've learnt a lot and aced this subject. you've really helped not just me but a lot of us so much with your easily digestible tutorials. thank you so much padma and programiz team !! wishing y'all more recognition 🙌

tteokmember
Автор

Waiting for your C++ Playlist ! Please make this happen ASAP!! 👍🏻

kaseemkhan
Автор

Reading all comments be like thank you Padma and programiz so I want to join the long list of Thanking you programiz and team

nuetrkn
Автор

These videos saved my butt all semester long. Was even able to finish with an A+. Thank you so much Padma! You make difficult concepts so easy and digestible to understand. Wishing you all the best in your future 💙

Liquidisco
Автор

Thanks programmiz I'm 1 step ahead of myslef now!

Nudtanun
Автор

finished all your videos! thank you so much po!

JASMIN-jgvn
Автор

thank you Padma, I hope theres more to come! Great course

whisperscribe
Автор

Thank you, I saw all 30 videos and I like them

stefanopilone
Автор

Waiting for the c++ a lot
I think u will reach to 100k subscribers soon only after c++ series.

nandishnandish
Автор

programmin task:
#include <stdio.h>
#include<math.h>
#define squareroot 36
int main() {
int result=sqrt(squareroot);
printf("%d", result);
return 0;
}
quiz: option c(#)

sandeepvarma
Автор

#include <stdio.h>
#include <math.h>
# define squareroot 36
int main() {
int result=sqrt(squareroot);
printf("squareroot of a number is:%d", result);
return 0;
}

prathikantamsaivarnith
Автор

Your lectures helped a lot 😊❤ thank you ❤️

jahnavi_choudhary_
Автор

Option C : #



#include <stdio.h>
#include <math.h>

#define squareRoot(n) sqrt(n)

int main() {

int n = 25;

double result = squareRoot(n);

printf("%.2lf", result);

return 0;
}

onic
Автор

If I knew this is the last video I would have watch it while crying. Thank you maam. Please how can we draw shapes in C programming

AFCOE
Автор

Thanks a lot. This is really helpful.❤

sanjanascw
Автор

I have useful mam please keep upload more video thank you so much❤😊

bharathiraja