C_149 Predefined Macros in C | Conditional Pre-processor Commands | C Programming Tutorials

  Рет қаралды 56,108

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

Пікірлер: 67
@Helly04
@Helly04 11 ай бұрын
Mam idk whether you r reading this or not but l m writing all my feelings over here l really want to share this with u . I came to know abt you through ig reel (in that it was showing 5 best channels for programming in that l saw ur channel name l took screenshot searched it on YT & subscribed to ur channel & since l m in 1st year it's a C language that we r studying ryt now so l decided to watch ur lectures & l found it really really amazing, you explain everything in very detail, Even tougher concepts becomes easy studying with u . It's really a big pleasure for me to found ur channel to come here to study with u the journey was so beautiful & l can say u r really thE GOD OF MOTHER LANGUAGE C . You really taught very very very well ❤❤l m so grateful to u & so grateful to god that l found ur channel. Because of u 1st tym programming seems interesting to me , thnx for this lots of efforts u put in to provide best content free of cost. Lots of lv to u . You will go a lot ahead in ur life. Since, its a beginning l want to study each programming concepts with u . Thanks thanks thnxxxxxx a lottttttttt❤🌚 Edit: & yeah how can l forgot to compliment abt ur beauty????? You r a mesmerizing beauty 🤌❤
@06sumanthsssrinivas99
@06sumanthsssrinivas99 10 ай бұрын
Bro when we complete all videos in this playlist we easily write code in C language or not & all topics are covered or not
@HustlerJunaid
@HustlerJunaid 5 ай бұрын
Vai married h ma'am
@frankarkoh8591
@frankarkoh8591 2 жыл бұрын
Please can you do something about command line arguments with examples, your lectures is really helpful and easy to understand the concepts, I'm really grateful for this...if you can do some explanation about the command line arguments, it will be of a great help
@vishalparvatikar7991
@vishalparvatikar7991 2 жыл бұрын
Aap ki saare lectures bohot acche hai, Aur aapka content bhi accha hai . One of the best teacher on KZbin! All the love and support from Karnataka. Keep inspiring us!!!
@misturaojulari9707
@misturaojulari9707 Жыл бұрын
Thank you ma'am for helping out with good explanations of c concepts 🙏🏼
@experttrader8947
@experttrader8947 2 жыл бұрын
Mam aap bahut easy way se bahut difficult things ko explain karte ho That Greatttt
@abdulrahimjalloh363
@abdulrahimjalloh363 Жыл бұрын
Thanks mam, Today I completed C. I dont know how to even thank you. you deserve more than this. I will now start watching your Python tutorials
@satheeshsathi7439
@satheeshsathi7439 Жыл бұрын
Bro actually now i started to learning c programming from beginning,so its entire classes are usefull aa ? Tell bro, bcs im so exited to start to learn c in this so, tell me wat ur learning experience bro?
@abdulrahimjalloh363
@abdulrahimjalloh363 Жыл бұрын
@satheeshsathi7439 It was amazing. All I can advise is to be consistent. Sometimes, you might feel to give up, but do not. Just continue to learn. In the end, you will be happy for not giving up. Trust me, Madam Jenny is the best lecturer on KZbin for programming. The way she explains even a beginner will find it easy. She made C become easy for me to the extent that now I am in Java, and I just see Java simple. I'm in year 2, and we are learning Java. But I see everything simple. Sometimes, I do tasks in C and also do it in Java. After Java, I will continue to learn Python. Every video from Jenny's lectures, I will surely watch all. So brother, you have to learn C, and C is best program to begin with. It has lots of advantages
@satheeshsathi7439
@satheeshsathi7439 Жыл бұрын
@@abdulrahimjalloh363 tq bro
@06sumanthsssrinivas99
@06sumanthsssrinivas99 10 ай бұрын
Bro all topics are covered in this playlist & we can do our own when we complete this playlist? Pls reply bro I want to start
@kuntellashanker2497
@kuntellashanker2497 2 жыл бұрын
Thanks mam for giving your time for us
@m.tORempty
@m.tORempty 2 жыл бұрын
Mam your my favourite teacher ever..❤️❤️
@Garfield_gaming12387
@Garfield_gaming12387 2 жыл бұрын
Line mat maar bhai kbhi mil nahi sakti so ye heart apne wali ke liye rakh
@m.tORempty
@m.tORempty 2 жыл бұрын
@@Garfield_gaming12387bhai as a favourite teacher heart dia hai....ab apni apni samajh ka fark hota hai.
@satyajitmanna8501
@satyajitmanna8501 2 жыл бұрын
thanks maam. i learn c language...............for your help. love form satyajit manna
@imahunter1174
@imahunter1174 2 жыл бұрын
Why don't much subscriber...and views on... learning channels🙄... views and subscriber ..much larger on Bulger channels 🙄... But love you mam. For your... labour ❤️❤️❤️and we will continue supporting you 🙏🙏
@sarahkimani8063
@sarahkimani8063 Жыл бұрын
you are such a good teacher
@lovecoding8498
@lovecoding8498 2 жыл бұрын
You are excellent teachers❤️
@phillippantar4064
@phillippantar4064 Жыл бұрын
I can *C* our future together 👉👈
@debojitacharjee
@debojitacharjee 2 жыл бұрын
*WHAT WILL HAPPEN IF %s FORMAT SPECIFIER IS USED WITH LINE MACRO?" - why a string format specifier can't be used with LINE macro? A string format specifier %s doesn't support numbers? A string can't be alphanumeric?
@Kumarvisha234
@Kumarvisha234 2 жыл бұрын
Your one video got viral on instagram🙂ab shorts hi banane chahiye ye sab koi nhi dekhta i think so🙃
@Garfield_gaming12387
@Garfield_gaming12387 2 жыл бұрын
I am a poor laborer. I can't touch your smile even I can only feel it, I know this.
@kishorekumar-gy6rx
@kishorekumar-gy6rx 5 ай бұрын
What is the difference between Macros and global variables. Because if we declare a variable globally we can use multiple places right.
@abdulrahimjalloh363
@abdulrahimjalloh363 Жыл бұрын
Mam please, do Java video tutorials
@nirbhaykumar9418
@nirbhaykumar9418 2 жыл бұрын
Come here only to see you ❤️
@DeepakKumar-pn9kh
@DeepakKumar-pn9kh 2 жыл бұрын
Thank you 🙏🙏
@Garfield_gaming12387
@Garfield_gaming12387 2 жыл бұрын
Every moment jab bhi ap bolte ho bas ek chhoti si smile hi dhundhata hu chehre pe but milti nhi.... plz plz i request jab bhi padhaya kariye pls smile ke sath padhaya kariye bhot khubsurat lagegi apke chehre pe chhoti chhoti smile
@DeepakKumar-pn9kh
@DeepakKumar-pn9kh 2 жыл бұрын
Thank you so much 🙏🙏
@riyadunnabi
@riyadunnabi 9 ай бұрын
/************conditional preprocessing directives***************/ /* #if #elif #else #ifdef #else #ifndef (if not defined) The #if, #elif, and #else directives are used to conditionally include or exclude blocks of code based on the value of VERSION. The #ifdef directive checks whether DEBUG is defined. The #ifndef directive checks whether RELEASE is not defined .*/ /***********************************************************************************************************************************************/ #include int main() { /*******************************************************************************************************************************/ #define VERSION_1 2 // Yes, you can use #define directives within the main() function or any other function in C and C++. // However, the scope of these macros will be limited to the block in which they are defined. #define RELEASE_1 3 #if VERSION_1 == 1 printf("Using version_1 1 "); #elif VERSION_1 == 2 printf("Using version_1 2 "); #else printf("Unknown version_1 "); #endif #ifdef DEBUG_1 printf("Debug_1 mode is enabled "); #else printf("Debug_1 mode is disabled "); #endif #ifndef RELEASE_1 printf("This is not a release_1 build "); #endif printf(" "); /***********************************************************************************************************************************************/ #define VERSION_2 1 #define DEBUG_2 3 #if VERSION_2 == 1 printf("Using version_2 1 "); #elif VERSION_2 == 2 printf("Using version_2 2 "); #else printf("Unknown version_2 "); #endif #ifdef DEBUG_2 printf("Debug_2 mode is enabled "); #else printf("Debug_2 mode is disabled "); #endif #ifndef RELEASE_2 printf("This is not a release_2 build "); #endif /*************************************************************************************************************************/ /* instead of writing two different VERSION, we can change the value of these VERSION, or define them while compiling by this: gcc -DVERSION=1 my_program.c -o my_program -DVERSION=1 is a compiler flag used in C (and C++) to define a macro named VERSION with a value of 1. When you compile a C program, you can pass various options to the compiler to control how the code is processed. One common set of options is used to define preprocessor macros. The -D option followed by a macro definition is used to define a macro with a specific value. So, when you compile a program with -DVERSION=1, it's equivalent to having a #define VERSION 1 line at the beginning of your source code. The compiler treats occurrences of VERSION in the code as if they were replaced by 1 before compiling. For example, if you have #if VERSION == 1, with -DVERSION=1, it's as if you had #if 1 == 1 after preprocessing, which is a true condition. You can use the -D option with the compiler to define macros, which can replace the need for #define directives in your source code. For instance, instead of putting #define VERSION 1 at the beginning of your source file, you can use -DVERSION=1 when invoking the compiler: gcc -DVERSION=1 my_program.c -o my_program This command tells the compiler to define the macro VERSION with the value 1 during the compilation of my_program.c. Using -D with the compiler can be convenient, especially when you want to define macros dynamically based on build configurations or external factors, such as through build scripts or makefiles. It allows you to control macro definitions without modifying the source code directly. */ /**************************************************************************************************************************/ return 0; }
@mayurhanumante312
@mayurhanumante312 2 жыл бұрын
Problems on storage classes make one more video
@pothurajuvenkatesh1249
@pothurajuvenkatesh1249 2 жыл бұрын
Please start java classes maam
@JyotiBharti-tc8zi
@JyotiBharti-tc8zi Жыл бұрын
Hello Mam , can u tell me how to use macros function in map in a class in macros function we don't send value we want to give their a variable which contain some value .....so please help me how to do it .....foe example, it is my code ... #define arrayElement(elements) (elements) class utility { int x = 100; std::map v4SessionMap[arrayElement(x)]; } ...................it gives me a error when i give here x but it doesn't give me error when i give directly value there
@alihussainabro7694
@alihussainabro7694 2 жыл бұрын
very useful video but plz mam upload dart videos also thank you
@satyajitmanna8501
@satyajitmanna8501 2 жыл бұрын
maam condition macro more viedo plz...........................................................................................................................................................................................................
@Adityakumar-wg4bg
@Adityakumar-wg4bg 2 жыл бұрын
Thank you mam😀😀😀😀❤❤❤❤
@amanraiAR-11
@amanraiAR-11 2 жыл бұрын
Mam Aapka Behind The Scene Wala Video Pura Viral Hogya
@riyadunnabi
@riyadunnabi 9 ай бұрын
/********PreDefined Macros********/ #include int main() { printf("Date: %s ", __DATE__); printf("Time: %s ", __TIME__); printf("File: %s ", __FILE__); printf("Line: %d ", __LINE__); printf("DNSI: %d ", __STDC__); // 1 if DNSI, else 0 printf(" "); return 0; }
@JTirumalaRaoJTR
@JTirumalaRaoJTR 2 жыл бұрын
Which compiler you are using madam
@muralikarthikbangaru7388
@muralikarthikbangaru7388 2 жыл бұрын
Mam what is the basics of C language video mam
@JennyslecturesCSIT
@JennyslecturesCSIT 2 жыл бұрын
Go to first video of c programming playlist
@chiragswarnkar176
@chiragswarnkar176 2 жыл бұрын
So beautiful mam.
@ygirlzcreations5630
@ygirlzcreations5630 2 жыл бұрын
Hii mam I have a doubt in this, #include Enum language {c,java=3,python,php}; main(){ float arr[c+php]={1.0f,2.1f,3.2f,4.3f,5.4f}; enum language lang=python; Printf(“% .1f”,arr[lang>>1+1]); } Output: 2.1 How this output is possible (I need explanation for this mam)
@farzanaashraf8136
@farzanaashraf8136 2 жыл бұрын
There are so many errors in your program how can it be run?
@viratchandu8161
@viratchandu8161 2 жыл бұрын
Mam can you explain the winning team Java code plzz
@Garfield_gaming12387
@Garfield_gaming12387 2 жыл бұрын
Kya karu ji ishq ho gya hai apse.....
@Garfield_gaming12387
@Garfield_gaming12387 2 жыл бұрын
Jo bhi padhate ho wo mera subject nhi bas apke chehra hi dekhta rahta hu so ab jo bhi video banaoge itna hi sochna ki koi apsa bas chehra hi dekh rha hai
@Gamechanger-nd1dd
@Gamechanger-nd1dd 2 жыл бұрын
Abe gawar teacher guru hota hai kaisi baat kar raha hai kalyug aa gaya hai 😔
@PardeepKumar-bi6ef
@PardeepKumar-bi6ef Жыл бұрын
Ma'am I want to ask it can show the IP address or not. :)
@amanvlog_beats4504
@amanvlog_beats4504 2 жыл бұрын
❤️❤️❤️❤️
@md.musaal-kazim1774
@md.musaal-kazim1774 2 жыл бұрын
Love you mam
@darkroomproductions9252
@darkroomproductions9252 2 жыл бұрын
Here after watching her beauty in memes
@RajkumarTholam253
@RajkumarTholam253 2 жыл бұрын
ma'am e course notes pdf send cheyandi maam
@bgmtrendzjsp2252
@bgmtrendzjsp2252 2 жыл бұрын
Hi mam one like ❤️ plz
@SKumarInTech
@SKumarInTech 2 жыл бұрын
First 🥇
@anshul8269
@anshul8269 2 жыл бұрын
♥️♥️
@saisrinivasb2063
@saisrinivasb2063 2 жыл бұрын
Dont call me mam sabh it just jenny -RRR ❤️
@pothurajuvenkatesh1249
@pothurajuvenkatesh1249 2 жыл бұрын
Plllllleeeeeeaaaaaasssssseee Maaaaaaaaam
@imtrulymahesh
@imtrulymahesh 2 жыл бұрын
I love you 3900😒 #my_salary
@mayankanand6522
@mayankanand6522 Жыл бұрын
Mam what's your age?
@ajazhussain7206
@ajazhussain7206 2 жыл бұрын
❤️♾️♾️
@pothurajuvenkatesh1249
@pothurajuvenkatesh1249 2 жыл бұрын
Pleeeeeaaaaassssseee
@SS-yb1qd
@SS-yb1qd 2 жыл бұрын
Please start c++ playlist. And please stop marketing coding ninja. It's a waste of money.
@DarwinAUS
@DarwinAUS Жыл бұрын
Ich verstehe nur Bahnhof in HindiEnglisch.
@slayerankku4869
@slayerankku4869 2 жыл бұрын
yaha par bi unacademy, I hate it
@karamprudhv1756
@karamprudhv1756 2 жыл бұрын
Mam iloveyou
Good News 🙈😃 | Completed C Programming Course
3:19
Jenny's Lectures CS IT
Рет қаралды 130 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 32 МЛН
the cleanest feature in C that you've probably never heard of
8:13
C_101 Function Pointers in C | Pointer to Function | C Programming Tutorials
18:04
Jenny's Lectures CS IT
Рет қаралды 144 М.
Conditional Compilation In C: #ifdef #else #endif
7:12
Technotip
Рет қаралды 32 М.
C_62 Strings in C - part 1 | C programming tutorials
15:41
Jenny's Lectures CS IT
Рет қаралды 536 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 837 М.
How to Write Function-Like Preprocessor Macros (C example)
13:59
Jacob Sorber
Рет қаралды 43 М.