C_14 Operators in C - Part 2 | Arithmetic & Assignment Operators | C Programming Tutorials

  Рет қаралды 309,333

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

Пікірлер: 196
@rithish4352
@rithish4352 4 жыл бұрын
Jenny mam after completing all these lectures even do these practically so that we can remember it life time anyways as usual you are awesome, hope uh read my comment and also plan a practical videos after explaining theory part
@tejashwini5343
@tejashwini5343 2 жыл бұрын
Yes bro......that's really good idea
@kolasiddeganesh851
@kolasiddeganesh851 2 жыл бұрын
Yes that would be 👍🏻 awesome
@RiteshKumar-pu3gp
@RiteshKumar-pu3gp 2 жыл бұрын
Then y can see code with Harry he does practical also
@_s.r.b._
@_s.r.b._ 2 жыл бұрын
Yes! When we are using a int value and a float value and gave %d as format specifier we are not getting the right output.. 😊
@sulurulokesh7877
@sulurulokesh7877 8 ай бұрын
#include int main() { float a,b; char op; printf("enter the value of a: "); scanf("%f",&a); printf("enter thye value of b: "); scanf("%f",&b); printf("enter the operator that to be performed:"); scanf(" %c",&op); switch(op) { case '+': float c=a+b; printf("The value of the input result is:%f ",c); break; default: printf("please enter the proper operator "); } printf("go home"); return 0; } don't get confuse guys In C, a newline character (' ') is indeed a character, and it is represented by a single character. When you press Enter on the keyboard, it generates a newline character (' '). So, when the program reads characters using scanf("%c", &op);, it treats the newline character just like any other character in the input stream. That's why we need to handle it appropriately to ensure the program behaves as expected. thank you
@shrur3527
@shrur3527 2 жыл бұрын
dear mam thank you will be very less for your videos , praying for all happiness n success to u n to ur family , i m benefited a lot by your videos , you are an excellent teacher
@harshleenkaur6794
@harshleenkaur6794 4 жыл бұрын
You are the best teacher i have ever read C language from!!!
@venup5381
@venup5381 3 жыл бұрын
when we declare and intialize as int a=10; float b=7 then the output is a+b=17.000000 a-b=3.000000 a*b=70.000000 a/b=1.428571
@aryan....2986
@aryan....2986 3 жыл бұрын
What Did u use "%d" or "%f". ??
@vibhusharma2881
@vibhusharma2881 3 жыл бұрын
@@aryan....2986 obviously you have to use "%f"
@028-bsabana5
@028-bsabana5 2 жыл бұрын
1.000000 here also we take 6bytes then how did u get 428571
@bharathivlogs1306
@bharathivlogs1306 2 жыл бұрын
@@028-bsabana5 yes in int we can't use fraction but float we can
@saiishwarya812
@saiishwarya812 Жыл бұрын
What happens if a is int data type and b is float data type And we use modulo(%) Between them What will be output in int and float
@specificgyan-adarshmishra7857
@specificgyan-adarshmishra7857 4 жыл бұрын
Now c program also has taken part of my 11 class since you start uploading c programming video #passion #c_program #Jenny_Lectures 🙏
@sathyasathyam6930
@sathyasathyam6930 4 жыл бұрын
Well explaination.. From Tamilnadu
@anusha_pathivada
@anusha_pathivada Жыл бұрын
If one is int and one is float it is a negative value as output Tq so much mam for your vedios ❤
@continnum_radhe-radhe
@continnum_radhe-radhe 2 жыл бұрын
Wow.... Aapne bhut acche se smjhaya hai thank you soo much 🔥🔥🔥
@jjancylisha3537
@jjancylisha3537 2 жыл бұрын
Mam you are an excellent teacher.... thank you for your video.... I'm really impressed.... with your teaching style....and also I'm benefited a lot by your videos... I'll pray for your success and happiness... mam....god bless you
@Ashtab_
@Ashtab_ 2 жыл бұрын
With %d the output of int and float is zero and with %f the output is 17.00000 3.000000 70.00000 1.428571
@bashshar
@bashshar 3 жыл бұрын
You are the best teacher to whom I learn c language programing
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Very easily and beautifully explained 👌👌💛
@debojitacharjee
@debojitacharjee 3 жыл бұрын
*THERE ARE MAINLY 3 TYPES OPERATORS ONLY* - Unary, Binary and Ternary operators. The operators discussed here comes under Binary category.
@ececse
@ececse 2 жыл бұрын
these are discussed in previous vidoe.....
@debojitacharjee
@debojitacharjee 2 жыл бұрын
@@ececse I know that but the examples are given in this video is only for binary operation.
@VivekKumar-vf3ig
@VivekKumar-vf3ig 4 жыл бұрын
If I was your computer....I would compile anything u write😁
@gamesuid3233
@gamesuid3233 2 жыл бұрын
Simp spotted 😂
@suryakant6357
@suryakant6357 Жыл бұрын
​@@gamesuid3233😂😊🎉wlu 😊😂😊😊u
@runmorewithmotivationdude1637
@runmorewithmotivationdude1637 Жыл бұрын
The ultimate simp
@muskaan00001
@muskaan00001 Жыл бұрын
Areyyy
@Anirudh.247
@Anirudh.247 Жыл бұрын
Nice one👏
@harshleenkaur6794
@harshleenkaur6794 4 жыл бұрын
Thank yo ma'am. for all your efforts!!
@gopalhamilpur3784
@gopalhamilpur3784 10 ай бұрын
wow such a excellent explanation 👏👏👏
@adidada6456
@adidada6456 3 жыл бұрын
Mam aap bhau accha padhati hai , Thank u mam☺️
@saiishwarya812
@saiishwarya812 Жыл бұрын
What happens if a is int data type and b is float data type And we use modulo(%) Between them What will be output in int and float
@rehana_7117
@rehana_7117 4 ай бұрын
@@saiishwarya812 even if one variable is of type float, if you use modulo operator then you will get an error. MODULO OPERATOR CAN ONLY BE USED WITH VARIABLES DECLARED AS TYPE int. Hope this helps :)
@saiishwarya812
@saiishwarya812 4 ай бұрын
@@rehana_7117 thank you✨
@_adyasha5056
@_adyasha5056 2 жыл бұрын
Thanks a lot mam🥰🥰🤗 God bless you....
@GangothriPathhiri
@GangothriPathhiri Жыл бұрын
Using float after get output a+b=17.000000 a-b=3.000000 a*b=70.000000 a/b=1.428571
@tulsibhatta5566
@tulsibhatta5566 11 ай бұрын
thank you mam for this explain🙂
@kvpavankumar7724
@kvpavankumar7724 4 жыл бұрын
ji your content is good I am using your youtube lectures as my revision, please add lectures for java, python and machine learning
@sivakarthikeyans3894
@sivakarthikeyans3894 4 жыл бұрын
Well Teaching Mam ! Please Continue The C Programming Series
@tps8470
@tps8470 2 жыл бұрын
Thank you Mam
@im__rahul
@im__rahul 4 жыл бұрын
Mam congratulations for achieve 3lac subscriber👍👍💐
@izharkhankhattak
@izharkhankhattak 3 жыл бұрын
Good work. Thank you so much.
@le301-rakeshkumar9
@le301-rakeshkumar9 3 жыл бұрын
✨✨✨✨✨✨✨ Mam please one suggesion if that can you change the white board you are using to a black board, so that we won't get that much amount of back light from phone, ✨✨✨✨✨✨✨✨
@chitwanverma4536
@chitwanverma4536 Жыл бұрын
Identifier rule states we cannot take special symbol with variable like A+=1
@35.ayeshakhan73
@35.ayeshakhan73 3 жыл бұрын
Mam you are great👍👍👍👍👍👍
@kumarkrishna338
@kumarkrishna338 Жыл бұрын
So sweet very naic
@pyntngenlangchyne8380
@pyntngenlangchyne8380 3 жыл бұрын
Please explain the full course of c program..your teaching is absolutely great👍👍👍👍👍
@sagargowda3231
@sagargowda3231 4 жыл бұрын
Mam please make a video of those who have completed there engineering and jobless in cs background this will be helpful for lot of people i guess...
@food8814
@food8814 3 жыл бұрын
with %f format the output is with 6 precision
@nisarali0277
@nisarali0277 3 жыл бұрын
printf("a+b=%d",a+b); 17.00 -=-3.0 *=70.0 /=0.70
@GOWRIN-tn6ux
@GOWRIN-tn6ux 7 ай бұрын
Jenny mam. I hope you reply me.. Your videos are amazing.. If i include #include in online c compiler it shows error why it occurs..
@bhargav_speaks10
@bhargav_speaks10 6 ай бұрын
because conio file is not there in online c compiler
@AmitKumar-tv8ng
@AmitKumar-tv8ng 3 жыл бұрын
Love you so much mam ❤️❤️❤️☺️🥰🥰🥰💕❣️
@tithighosh2169
@tithighosh2169 4 жыл бұрын
Great ❤️❤️
@rajamanmohan777
@rajamanmohan777 2 жыл бұрын
Aap gajab padhati hai mam
@dipteshsahoo744
@dipteshsahoo744 2 жыл бұрын
wow wonderful lecture
@CSBMUDAVATHSHILPA
@CSBMUDAVATHSHILPA 2 жыл бұрын
plz mam could u make a series for other languages also...like for c++ and java.
@shaileshrajthakur1589
@shaileshrajthakur1589 4 жыл бұрын
Kya mein python latest version 3.9.1 apne windows 7 laptop par install kar sakta hu if yes then explain step by step
@epicmotivationtime8497
@epicmotivationtime8497 4 жыл бұрын
Nice video of c language
@hiriharanvm5568
@hiriharanvm5568 7 ай бұрын
mam the assignment opt code has executed but the result has only spaces... can u explain it? int main() { int a,b,c,d; d = a=b=c=8; }
@gmramkumar9536
@gmramkumar9536 3 жыл бұрын
I'm a big fan of that smile at 15:31
@handekarilingojivarasaikri782
@handekarilingojivarasaikri782 3 жыл бұрын
Output for one float and one integer addition/subtraction/division/multiplication will be a garbage value
@satyavasavi5361
@satyavasavi5361 2 жыл бұрын
No....float value will be the output
@AnkitKumar-hy4ly
@AnkitKumar-hy4ly 2 жыл бұрын
really such a great style of teaching maam but maam kuch hindi mein be bola kare please !!👍
@Iplpredictions9814
@Iplpredictions9814 Ай бұрын
madam why your are using getch()......?
@anilroy3943
@anilroy3943 11 ай бұрын
Beauty with brain
@tapasnayak3708
@tapasnayak3708 3 жыл бұрын
Thank you so much.. Mam..
@food8814
@food8814 3 жыл бұрын
warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' error: invalid operands to binary % (have 'int' and 'float') but output is same mam
@blaze102
@blaze102 Жыл бұрын
When I took one value integer and other value float on writing %d although it compiled and run but output was wrong on writing %f output was right
@eeeeclips9424
@eeeeclips9424 4 жыл бұрын
I am first comment madam
@cforeveryone9754
@cforeveryone9754 Ай бұрын
Hi madam , what is Lvalue required
@abdulnasarachakzai2604
@abdulnasarachakzai2604 4 жыл бұрын
thanku you maam
@priyankapaul7077
@priyankapaul7077 2 жыл бұрын
Mam which compiler is best for c?
@AlgorithmCodings
@AlgorithmCodings 2 жыл бұрын
a+=b*10 or a+=(b*10) .it not a problem if u gave parathesis or not.
@syedalifathimaa9618
@syedalifathimaa9618 4 жыл бұрын
int a=10; float b=7; printf("%d",a+b); => Everytime it's giving different outputs like -845509928...........why ma'am printf("%f",a+b); => 17.000000
@hetpatel2992
@hetpatel2992 3 жыл бұрын
Hey, If you will declare an int c=a+b; and the printf("%d",c); then it will give the integer part of the sum, in this case it will be 17 . Code: #include int main() { int a=10; float b=7; int c=a+b; printf("%d",c); return 0; } Coming to your doubt that output are different every time you write your code the problem is actually same as the following code : #include int main() { float a=29; printf("%d",a); return 0; } In this case a is a float number but I am trying to print integer but in c language float will not be converted into int and hence it will give a garbage value. If I will declare a int b=a; then it will store the integer part of the float as int cannot store the decimal part and then if you will print b then you will get desired output. Code for that is following, you can check it out: #include int main() { float a=29;int b=a; printf("%d",b); return 0; } Same is with your case a+b is a float as b is a float. Hope this helps.
@dominicamaria2897
@dominicamaria2897 3 жыл бұрын
14:20 Madam Please tell me where should I practice these sessions of c language... Please reply....🙏🙏🙏
@LIGHT-fz8yu
@LIGHT-fz8yu 3 жыл бұрын
Visual studio codr
@dominicamaria2897
@dominicamaria2897 3 жыл бұрын
@@LIGHT-fz8yu Thank you. Where should I download this?
@LIGHT-fz8yu
@LIGHT-fz8yu 3 жыл бұрын
@@dominicamaria2897 search on KZbin how to download visual Studio code and C extension But it's for pc if you don't have pc like me you can also code on mobile there are many compileers available for mobile offline and online
@LIGHT-fz8yu
@LIGHT-fz8yu 3 жыл бұрын
@@dominicamaria2897 and one more thing I am learning c also Try to do much practicals bcs now u think u understanding it clearly but after some time you will forget but after practical you wont If u know hindi then learn from code with harry he explains very well and with instant practical Have a good day :D
@dominicamaria2897
@dominicamaria2897 3 жыл бұрын
@@LIGHT-fz8yu thank you so much
@snehalshelar7778
@snehalshelar7778 4 жыл бұрын
Mam u teach only DS?
@yeshueditz..7341
@yeshueditz..7341 Жыл бұрын
Mam, why should we use getch and clrscr
@jayaramkumar5148
@jayaramkumar5148 Жыл бұрын
Mam.. Expected identifiers or '('before 'int'
@jayaramkumar5148
@jayaramkumar5148 Жыл бұрын
How to solve this issue
@NehaReddy-g4d
@NehaReddy-g4d Жыл бұрын
A doubt :- a=a+1 If a is 4 then, 4=4+1 4=5 How is this possible: 4=5 Logic
@bushrakhan-nm8iv
@bushrakhan-nm8iv 9 ай бұрын
it will update to 5
@AlgorithmCodings
@AlgorithmCodings 2 жыл бұрын
after putting %f .it shows correct answer and after decimal point shows 6 number
@sagarpradhan1178
@sagarpradhan1178 Жыл бұрын
Those have not laptop facing problem mam , so what can we do mam ...any other way or app in phn 🥺
@palanisamyj2315
@palanisamyj2315 Жыл бұрын
6:50 PEMDAS🐭
@ronycb7168
@ronycb7168 Жыл бұрын
mam the conio.h file isn't running in my compiler the internet says it's an outdated file that's not found in modern compilers anyways found the lecture valuable thank you!
@CKgaming2000
@CKgaming2000 3 ай бұрын
Give clrscr() and run bro
@this.g1
@this.g1 4 жыл бұрын
Mam , how can work together mysql with c language or firebase ??
@syedalifathimaa9618
@syedalifathimaa9618 4 жыл бұрын
zetcode.com/db/mysqlc/ I think it can give some idea
@kushalyadav2624
@kushalyadav2624 Жыл бұрын
I had written this program #include int main(){ int a= 10, b = 7; printf("a+b = %d ", a+b); printf("a-b = %d ", a-b); printf("a*b = %d ", a*b); printf("a/b = %d ", a/b); printf("a%b = %d ", a%b); return 0; } and I had got an error warning: invalid conversion specifier 'b' [-Wformat-invalid-specifier] printf("a%b = %d ", a%b). I want to print "a%b = value of operation of a%b. but it is not showing the result what can i do
@krishnachaitanyabalaraju1066
@krishnachaitanyabalaraju1066 2 жыл бұрын
Do a video on how to use visual stdio code
@chinnammanikantareddy821
@chinnammanikantareddy821 3 жыл бұрын
mam i want to do programming in my laptop how would i an do an you provide any apps to do programming at my home in my laptop
@nidhimishra8598
@nidhimishra8598 2 жыл бұрын
hello mam....ap qn se book se padhate ho....m apke videos dekh kr notes to bna re hu....but jb hm interview dete h....to kbhi kbhi koe koe definitions ke leye words me confuse ho jate h....to plz suggest book
@subrahmanyak.v9261
@subrahmanyak.v9261 6 ай бұрын
If you are master in maths you can crack any programming languages easyly
@dineshjl4821
@dineshjl4821 3 жыл бұрын
Why do we use "%d" in the program ?
@justsensei1738
@justsensei1738 3 жыл бұрын
%d is format specifier for integers, format specifier means on the place of that what data will be placed so, you can say it tell to convert "a" into int.
@sauravewankhad1884
@sauravewankhad1884 4 ай бұрын
a+b=17.000000a-b=3.000000a*b=70.000000a|b=70.000000
@ritheshn.m7200
@ritheshn.m7200 2 жыл бұрын
Is format specifier compulsory for all the printf output statments?
@pawanmittal8056
@pawanmittal8056 2 жыл бұрын
yes
@naveenkumarpragtiengcolleg6512
@naveenkumarpragtiengcolleg6512 3 жыл бұрын
Is there any notes of this topic from you mam?
@kirantechnophile7852
@kirantechnophile7852 4 жыл бұрын
Thanks for wearing Jacket.. Now I am perfectly concentrating only board
@k.annpurnamma3357
@k.annpurnamma3357 3 жыл бұрын
Mam please tell me how this for this a=( a=+1) I got output 1 For this a=(a+=1) I got output 128
@satyavasavi5361
@satyavasavi5361 2 жыл бұрын
A=1
@satyavasavi5361
@satyavasavi5361 2 жыл бұрын
a=a+1
@vilasmagdum1275
@vilasmagdum1275 3 жыл бұрын
hello mam could you please explain volatile keyword with example (c programming)
@mandulanaveen61
@mandulanaveen61 2 жыл бұрын
Mam when to use%d and%f
@SritejuMartha
@SritejuMartha Ай бұрын
Legends are watching in 2024😂🎉
@srinivasnaraparaju3802
@srinivasnaraparaju3802 2 жыл бұрын
Mam i written a programm as #include #include void main( ) { Int a=b=5, c; c=a+b; printf("%d=%d",c); getch( ); } mam but the complier is saying that there is an error that is the b did not assagin the value , but how is that mam i have used the assignment operator know mam please clarify my doubt mam I am currently studying btech 1st year CSE after watching your video only I got more interest in coding thank you mam C
@bharathivlogs1306
@bharathivlogs1306 2 жыл бұрын
Bro what do they teach in 1st year please tell me bro
@akashkadali5256
@akashkadali5256 3 жыл бұрын
Mam in previous lectures you explained the variables using 16 bit. But most of the pcs run on 64 BIT OR 32 BIT. may I Know the reason why you explained using the 16 bit...I hope you answer my question
@satyavasavi5361
@satyavasavi5361 2 жыл бұрын
We can run 8bit,16 bit,32bit and 64 bit operations on 64 bit processor
@sumitsharma1204
@sumitsharma1204 2 жыл бұрын
Isme int a=b=c=d=10 karne par error bta rha hai....means declaration ke samay
@bsunil9897
@bsunil9897 2 жыл бұрын
I love you jenny ❤😘
@স্বপ্নেরপরি-ল৪ল
@স্বপ্নেরপরি-ল৪ল Жыл бұрын
I love you mam❤❤❤
@anilgoudyarlagadda7248
@anilgoudyarlagadda7248 2 жыл бұрын
Mam please provide pdf ...book
@sagarrawat5389
@sagarrawat5389 2 жыл бұрын
mam i have a crush on you your facial expression aww........😍😍😍😍😍😍😍😍
@omprakashbhakar912
@omprakashbhakar912 2 жыл бұрын
how to write this a = b -a; in short form or a = 10-a; in short form
@gmramkumar9536
@gmramkumar9536 3 жыл бұрын
Mam... itha na solliye aagaanu.... neenga avlo azhagu mam
@rajniyadav1814
@rajniyadav1814 4 жыл бұрын
Mam please provide notes also
@Monstagegaming
@Monstagegaming 4 жыл бұрын
I fall in love with you when I saw you for the first time❤️❤️❤️....will you marry me....not silly ...I'm really excited about ur answer 😁😉
@shashank_kishore_
@shashank_kishore_ 2 ай бұрын
❤❤❤❤❤❤❤❤❤❤❤❤❤❤
@specificgyan-adarshmishra7857
@specificgyan-adarshmishra7857 4 жыл бұрын
👌✍👨‍🎓
@gglamzone
@gglamzone 4 жыл бұрын
1st view
@basinaharitha4229
@basinaharitha4229 3 жыл бұрын
Why we use getch()
@againdeepVlog
@againdeepVlog 3 жыл бұрын
Hello
@satyavasavi5361
@satyavasavi5361 2 жыл бұрын
Input function
@Twinkle_daily_recipe
@Twinkle_daily_recipe 2 жыл бұрын
to hold the screen output
@rharsha1383
@rharsha1383 2 жыл бұрын
MAAM PLEASE MAKE A PLAYLIST FOR PYTHON
@mdtaufeeqqureshi5273
@mdtaufeeqqureshi5273 4 жыл бұрын
138 viewer want heart
C_15 Operators in C - Part 3  |  C Programming Tutorials
12:03
Jenny's Lectures CS IT
Рет қаралды 268 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
C_17 Operators in C - Part 5 (Logical Operators) |  C Programming Tutorials
20:51
Jenny's Lectures CS IT
Рет қаралды 257 М.
C_18 Operators in C - Part 6 | Bitwise Operators |  C Programming Tutorials
15:21
Jenny's Lectures CS IT
Рет қаралды 461 М.
C_35 Properties of For loop in C | C Programming Tutorials
26:58
Jenny's Lectures CS IT
Рет қаралды 255 М.
C_10 Data Types in C - Part 1 | C Programming Tutorials for Beginners
19:50
Jenny's Lectures CS IT
Рет қаралды 695 М.
C_19 Operators in C - Part 7 (Bitwise Operators-II) |  C Programming Tutorials
18:20
C_84 Introduction to Functions - part 1 | C Language Tutorials
25:27
Jenny's Lectures CS IT
Рет қаралды 1 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН