Conditionals (Switch)
Vložit
- čas přidán 16. 06. 2018
- C Programming & Data Structures: Conditionals (Switch)
Topics discussed:
1) What is the switch statement?
2) The relationship between long else if constructs and switch construct.
3) How does switch work?
4) Five Important facts related to switch statement.
C Programming Lectures: goo.gl/7Eh2SS
Follow Neso Academy on Instagram: @nesoacademy(bit.ly/2XP63OE)
Follow me on Instagram: @jaspreetedu(bit.ly/2YX26E5)
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommende...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#CProgrammingByNeso #CProgramming #SwitchStatement
At first, I was skipping through these videos because I already knew if, else, and more, but then I realized that he explained it extremely deep, and in no other way other you-tubers explain concepts.
first videos are awesome
@@bezelyesevenordek first what do you mean?
😅✌
@@sreeraj7144 🙂
i didn't see anywhere of this type of coaching thanks a lot
Wahi
Yes aunti ji
@@jevi_sen 😁
@@jevi_sen abbé yaar aunti Jim nahi
How old r u mate
Greetings from Brazil!!
I've been learning c/c++ for 2 years and still learning new things from you
thank you nesoacademy
It is the most perfect explanation i’ve ever seen. Thanks a lot for sharing your knowledge❣️
All the lecture of neso academy is very helpful for student whether it was analog electronics or any programming language. Thanku neso academy and teachers of this platform for teaching us .
This channel is a life savior! I am so glad to have found this channel. Can't thank this channel and these great teachers enough🙇♀️
Comments for myself: only those expressions which return an integral constant value (integer) are allowed as case labels. Variable expressions are not allowed as case labels, but macros are allowed. Default case can be put anywhere inside the swtich, it doesn't have to be the last always.
love how every video I scroll down and see you comment to your self a well summarized sentence of the main points
Some people should be teachers. You my friend are one of those people
In this lecture we were also able to learn that which we did not learn in college. Thanks you 🤗
Hats off Mr...I'm addicted to your voice...
Your explanation are so good.
Thanks for this,
Your english and explanation are too good and clear😇thank you so much for this video🥰
Thank you soooooo much
I missed my CCP class today
But now it's all clear with your explanation
The way you explain, n the depth of the concepts ...
I saw many teachers who is best in there field but if we talk about Jaspreet sir ,there is no match
thank you sir
your videos are wonderful ,you helped me alot .
currently i'm preparing for interviews mostly i'm preparing from your videos only.
thank you
Cool tutorial on the switch construct in C.
My favorite tutor on c programming.
Awesome explanation in every subject neso academy...keep soaring high...👍👍
U r the best bro .... U r making things look so simple to me... .💗
You are real Teacher 🦁
Such a nice explanation ❤️❤️❤️❤️❤️❤️👍👍👍👍👍👍. Superb
Wonderful explanation and easy to understand. Thanks! 👍
Thanks for posting again in this playlist😊
Very informative and clean 🔥🔥🔥
what a clearful explaion sir '
superrrrbbbb I loved the way u explain.
Wow you explained it very well. Thank you! You earned a new subscriber :)
These are really helpful . Thank you 🙏
Man you made me like programming
You are Best of the Best, sir. Honorable respect to you!
One of the best lectures on u tube
really excellent coaching thanks
Too good!!!!, just loved it!!
thank you! great explanation.
Thank you Sir... You explain really well
Thank you bro❤️❤️❤️
From Palestine ❤️🇵🇸
Amazing lecture ❤
Finally again the nice one👍
Damn. Rich content! Thanks :-)
Very clear explanation thanks a lot
SIR your teaching skills are legendary.....ty
Beyond perfect!
What a teacher😍
Loved it amazing sir
Very helpful to me, thank you so much sir 🙏🏻
How is this video more perfect than perfect???
Super Clean explanation sir
So informative!!!
sir you done a excellent job, anyone can understand your teaching
Yeah actually you’re right
Thanks sir for explaining 🙏🙏
Really legit man... Thanks alot..💯
Nicely explained well done ✅
Very lovely video. You are a true INDIAN
Thank you so much sir 🙏🙏you made it programming so easy👍👍
A night before my exam you saved me. I love you 😗😂
Me too bro
Thank You 👍🏻
very good explanation
Great work sirji
Outstanding sir
Dil se thanks sir...your lectures are really very nice and helpful....I salute your efforts and explanation style sir....
Thank you so much
Thank you
U explained better than my teacher not better superb extraordinary and so on
awesome points 💋💋
I love I love I love watching ur videos , u make me addicted of ur videos
Excellent teaching
Thank you so much Sir for explaining so well. Radhe Radhe 🙏🙏🙏
Thank you so much sir
Thanks for that
THANK YOU
Thank u sir 👍👍👍
Nice Lecture sir
Great sir thanks
thankyou sir
Sir , Ur teching style is awesome 😊 Love from India 🇮🇳
Amazing ❤️❤️❤️
good video
Thankyou sir
Facts is very important
Excellent method sir thanks a lot sir 👍🙏😊
Thanku soo very much 🙌
hello sir, is it possible to define inline macros as we do in case of variables. ?
hi, can i use relational operators or some other category of operator in switch case
Eg;
int x=5;
switch(x)
{ case x>2 : printf("the number is %d",x);
case 1: printf("the condition not satisfied ")
}
hi .. i think it can't be possible because variable are not allowed in case labels. that is my opinion
Instead of x write constant is allowed but variable not allow in case level
Sir, Can we use relation operations such as ,= in case (in between constants or delcared variables)
Love from Bangladesh 🥰🥰
A very nice way thanks alot
How can i take notes
thank you
Ihave a very urgent question can we put a switch inside another switch ?
for example :
switch (x)
{case 1:{instuctions; break;}
case 2:{instuctions; break;}
case 3:{switch(y)
{case 4: {instuctions; break;}
case5: {instuctions; break;} ; break;} }
Thank u
Earlier you had told us that while finding the value of expression first we have to do expansion then operation. But in this case you are not doing that. May I know the reason for it
SUPER !!!
Majja aaya sir.
Radhe Radhe Sir Ji 🙏🙏🙏
We can use character like arithmetical operators??
It's ped course. Thank u sir
Please tell me ..... What could be the coding if I want to print the week days....from Monday to Sunday using switch statement...🙏
greetings from Turkey
super
IS there a pdf of the slides you were showing?
Hello sir, your lectures are really helpful.
Thanks a lot.
I need help. How to turn the following code into switch statement
int a = 5, b = 10, c = 15, choice;
choice = a > b && a>c ? a: (b > c ? b: c);
printf(“%d”, choice);