C_28 If-Else Statement in C | C Programming Tutorials
Vložit
- čas přidán 9. 01. 2021
- In this video, I have discussed if-else control statement in C Language | Syntax, Working, Flowchart, Examples, Programs
Best C Programming Tutorials : • Programming in C
*******************************************
Connect & Contact Me:
My Second Channel Link: bit.ly/354n7C7
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/profile/Jayanti...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
*********************************************
More Playlists:
C++ Programming Tutorials: • Lec 1: How to Install ...
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Python Full Course: • Python - Basic to Advance
Printing Pattern in C: • Printing Pattern Progr...
Dynamic Programming: • Dynamic Programming
Operating Systems: // • Operating Systems
DBMS: • DBMS (Database Managem...
#cprogramming #jennyslectures #programming #clanguage #controlstatements #ifelse
Attendance here👍🏻...just for ma'am 😁❤️
Absolutely ❤️❤️❤️😂😂🤣🤣
😅😊
Hi ❤
Present mam😁🙌
When I will watch your video then I will get complet clarity on topic thanks a lot mam and your way of teaching is awesome hands of to your teaching and didn't ever watched this type of teaching style
1. Enter 25 and 32
Go home
Out of the if-else
Both also same output
Right
Right
1. Enter age:25
25
Go home
Out of if-else
2. Enter age:32
32
Go home
Out of if-else
Wrong it will be
age=25 and age=32
@@blaze102 all of u r wrong
see scanf statement
Why it is wrong..?
Best video i have ever seen🔥
❤️❤️ way of teaching is just 🔥🔥
Bcz ur teaching again I got interest in c language mam... starting I'm worried about I'm not getting..but now I'm clear understanding
Mam...the way u just taught us is incredible♥️♥️
Wow, thank you so for your hard working
AN ERROR IN THE LECTURE’S LAST CODE-
Hi Jenny ma'am, Firstly you're my fav teacher by far. I love the way you teach. Top notch. Thank you so much for your lectures. I started learning C (my first computer language) with the help of your videos and I feel so confident. Please keep up the good work. God bless you.
Secondly, after many repeated failed attempts. I finally realized that there was an error in the code @12:40 (the 'address of' operator '&' is missing in scanf function),
Because of which the whole code wasn't getting executed., also it didn't display the error in the code too).
I don't know how others haven't realized this but Yes this was a great exercise for me.
Hope this helps someone having a similar issue. Not a major 1 though.
abe kam se kam itna to khud ki akal lagani chahie na......tu kya chahta hai, grammer seekhne ke vakt koi tujhe vapas abcd revise karae..maam is also human only....it is the duty of student to neglect small mistakes and move ahead!!
scanf("%d",&age); hoba
maam age er aga & likhen ni.
Mheen...thanks
I really admire your teaching thanku mam
Even in this night time you are uploading videos , thanks for it
ASSIGNMENT(11.53)
Mam after compilation I got only one error that is MISPLACE ELSE.
I got an output after clear the above error mam.
Thank u soo much mam. I understood very well.
Please make a video on graphs in data structure I am waiting for that video your explanation is very good mam thank you so much
Thank you Jenny
very useful. thank you
Your explanation is amazing maam
Splendid 👌 👌 👌
mam both have same answer
age=25
go home
out of if and else
or
age=32
go home
out of if and else
Good explanation 👍
Thanks a lot Mam
Thank you so much mam.
Thank you ma🥰
Love u and ur video
Great Mam keep it up
You have to maintain an another channel of beauty tips💡😄.. Pretty beautiful teacher ever🥰
enter age :
25
age :25
go to home
out of if-else
enter age :
32
age :32
go to home
out of if-else
Amazing
in both the cases of 25 and 32, else statements and out of ifelse would be printed and for 26-29 : age,you can have coffee with out of if else would be printed.(if curly braces are present).and if not printed then go home will aslo be printed.
Tq so much ma'am
Waiting For more Videos specially array functions and stack queue
Dear Jenny Some Questions for you.
1. How to become computer scientist.
2. How to develop/create low level language like assembly language.
3. How to develop/create high level language like python, kotlin, c++ and more.
Spr question
I think you can start by watching videos and reading books
Thank you mam👍
Thank u😍
Thank you ma'am
Her voice 🔥✨💫
Thanks mam
Liked the video. Can we have a correct order to learn coding 👍
I was late for my sem_1 buh currently I'm doing fair....!
thnkz mam...!🙏🙏🙏
Well explain mam
Ma'am please upload videos of command line argument in c. ❤️❤️
10:50 hello mam
For age:25
output: go home
Out of if-else block
For age:32
Output :go home
Out of if-else block
Thanks mam
Your classes are very helpful for me mam
🔥🔥🔥
Osm mam 😊
Mam whenever you give a homework at the end of the video please comment on that question in your next video.Provide answer for that homework in your next
video,so that we can know whether we got correct answer or not.
Good
very helpful videos for begnniers
thnks a lot mam . please also share the pdf notes 🙏🙏🙏
Plz make video on how to score good in semester exam
Both the cases same output will be generated mam. i. e, gohome
Outof if-else
From Karnataka ❤
Mjhy c , c++, java aati h but here i come for only you.
❣️
In the first program there is a erroe
you didnot right & in scanf().
ur comment really solved my error at last
Just one word amazing
Lec starts at 2:22
1st viewer...
Mam can you explain nested if elses
Mam u use two if condition in example program... if there is 2 if condition then it become nested if right??..
Gr8 explained..💞
But Change the thumbnail of the vedio..
Main scroll kr jata hun. Pta Ni prta...sub Aik jese hain...🤧🤩
Madam please suggest me about the computer programming languages books for beginners
when i entered 25 and 32, the INT was printed after that It printed the same output "go home" and after the else statement, " out of if else " was also printed out,
😮
scanf("%d",&age) //
//address sign was missing in program.
Mam you sooo... Prety❤
maam which time you will be uplode java lectuers
Very nice ring tone #niceringtonewaalabgm
Mam can u explain about identifying errors while writing the program and after executing the program .It is very hard to identifying the errors in mobile not only for me because somany engineering students has doesn't have their own laptops or system.Mam and also explain how can we learn coding by using the mobile
12:22
Enter age : 25
Age : 25
Go home
Out of if-else
Enter age : 32
Age : 32
Go home
Out of if-else
Yeah correct
Bro error vastundi program lo , because there is no "& " in scanf
@@baluch9558 yes ma'am forgot that but you can consider that bro
Please DBMS series,,,🙏🙏🙏🙏
IMP point at 8:22
Present mam
In scanf you didn't mention &. Will it show error during execution.
Thank you for sharing your knowledge with us. Keep educating us mam.
yes because we have to give adress of variable
1.
25
Go home
Out of if else
2.
32
Coffee with me
mam your coding is not excuted it show (segementation fault)
because you are not using (&age in scanf funtion)
this language help in campus placement
Mam all control statement par practice program provide kar dijiye
It won't take input in any case cause & is not used with scanf() function
7:25 Dangling else error // else without previous if
8:24 always use curly braces for the if and else block
Jaddi in IF-ELSE a if block containing more than one statement & we forgot to put curly braces to defined it region wewill get error bcoz there should be no other statem3nt between If statement and else statement
Mane if saraaru else part arambha jadi ame IF-ELSE byabahara karuche majhi re kicchi jatara nahin
So to avoid during use of IF-ELSE
Put the else part immidiate after the if part
4:33 mam you had not mentioned (&) symbol in scanf( ) function
1)
Enter age:25
age : 25
Go home
Out of if-else
2)
Enter age : 30
Age : 30
Go home
Out of if-else
3)
Enter age : 28
Age : 28
Coffee with me
Go home
Out of if-else
Note:assuming every printf statement is having a new line
Yes broh I to got same same out
Ok I well assume
Bro not 30 its 32
Your answer is wrong bro
There condition is greather than 25,and less than 30,it means it should be 26,27,28,29
If u
Case-1
Enter age:25
Out of if-else
Case-2
Enter age:32
Out of if-else
Correct
Mam at starting of the program in scan f you didn't write & symbol . You just wrote age it's & age
Mam one doubt.... My age is 18. Now... what will be your output?? Coffee?
U ra so beautiful and your teaching also so beautiful
and same for 32 also mam
2:28
Start
How to calculate the condition of int z=a&(a>>1)
bro firstly a right shift 1 condition will apply first in bitwse then a biwise and a operator will be executed
Mam you did a mistake in scanf line you forgot to write adress symbol & ..... So it had been compile in an other way means it shows another age value while we enter age in between 25 to 30
Watched and Understood ❤
You didn't map your age in scanf to the age variable... i.e &age. Does it not matter here?
mam if age is 25 then else block statement is printed
Started from 2:27
Video starts 2:25
What is kemo?
If condition ke andar se function call keise kare ???
Can I Also learn for u ... But mam u using the c programme and i m learning python programme reply me mam fast
In scanf & is missing mam
अगर else ब्लॉक के बाद printf wala part na likhe तो क्या मैं प्रोग्राम गलत हो जाएगा मेरा मतलब की printf ( "out of if else ") लिखना जरूरी है क्या हम डायरेक्ट एस ब्लॉक खत्म होने के बाद क्या getch(); लिख दे।
1) Enter age 25
age 25
Go home
Out of else
2)Enter age 32
age 32
Go home
Out of else
3) Enter age 28
age 27
Coffee with me
Go home
Out of else
Mam in scanf & operator missing
Mam gate exam 2023 ke liye kya kuch scope hai....help me mam