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

  Рет қаралды 302,280

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

Пікірлер: 196
@_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.. 😊
@rithish4352
@rithish4352 3 жыл бұрын
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
@harshleenkaur6794
@harshleenkaur6794 3 жыл бұрын
You are the best teacher i have ever read C language from!!!
@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
@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 2 жыл бұрын
@@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
@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 ❤
@specificgyan-adarshmishra7857
@specificgyan-adarshmishra7857 3 жыл бұрын
Now c program also has taken part of my 11 class since you start uploading c programming video #passion #c_program #Jenny_Lectures 🙏
@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
@sulurulokesh7877
@sulurulokesh7877 7 ай бұрын
#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
@VivekKumar-vf3ig
@VivekKumar-vf3ig 3 жыл бұрын
If I was your computer....I would compile anything u write😁
@gamesuid3233
@gamesuid3233 Жыл бұрын
Simp spotted 😂
@suryakant6357
@suryakant6357 Жыл бұрын
​@@gamesuid3233😂😊🎉wlu 😊😂😊😊u
@runmorewithmotivationdude1637
@runmorewithmotivationdude1637 Жыл бұрын
The ultimate simp
@muskaan00001
@muskaan00001 Жыл бұрын
Areyyy
@Anirudh.247
@Anirudh.247 Жыл бұрын
Nice one👏
@bashshar
@bashshar 3 жыл бұрын
You are the best teacher to whom I learn c language programing
@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
@continnum_radhe-radhe
@continnum_radhe-radhe 2 жыл бұрын
Wow.... Aapne bhut acche se smjhaya hai thank you soo much 🔥🔥🔥
@GangothriPathhiri
@GangothriPathhiri Жыл бұрын
Using float after get output a+b=17.000000 a-b=3.000000 a*b=70.000000 a/b=1.428571
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Very easily and beautifully explained 👌👌💛
@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 3 ай бұрын
@@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 3 ай бұрын
@@rehana_7117 thank you✨
@sathyasathyam6930
@sathyasathyam6930 3 жыл бұрын
Well explaination.. From Tamilnadu
@kvpavankumar7724
@kvpavankumar7724 3 жыл бұрын
ji your content is good I am using your youtube lectures as my revision, please add lectures for java, python and machine learning
@cforeveryone9754
@cforeveryone9754 13 күн бұрын
Hi madam , what is Lvalue required
@sagargowda3231
@sagargowda3231 3 жыл бұрын
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...
@chitwanverma4536
@chitwanverma4536 11 ай бұрын
Identifier rule states we cannot take special symbol with variable like A+=1
@pyntngenlangchyne8380
@pyntngenlangchyne8380 3 жыл бұрын
Please explain the full course of c program..your teaching is absolutely great👍👍👍👍👍
@harshleenkaur6794
@harshleenkaur6794 3 жыл бұрын
Thank yo ma'am. for all your efforts!!
@sivakarthikeyans3894
@sivakarthikeyans3894 3 жыл бұрын
Well Teaching Mam ! Please Continue The C Programming Series
@hiriharanvm5568
@hiriharanvm5568 6 ай бұрын
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; }
@adidada6456
@adidada6456 3 жыл бұрын
Mam aap bhau accha padhati hai , Thank u mam☺️
@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, ✨✨✨✨✨✨✨✨
@nisarali0277
@nisarali0277 3 жыл бұрын
printf("a+b=%d",a+b); 17.00 -=-3.0 *=70.0 /=0.70
@shaileshrajthakur1589
@shaileshrajthakur1589 3 жыл бұрын
Kya mein python latest version 3.9.1 apne windows 7 laptop par install kar sakta hu if yes then explain step by step
@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.
@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
@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
@CSBMUDAVATHSHILPA
@CSBMUDAVATHSHILPA 2 жыл бұрын
plz mam could u make a series for other languages also...like for c++ and java.
@subrahmanyak.v9261
@subrahmanyak.v9261 5 ай бұрын
If you are master in maths you can crack any programming languages easyly
@gopalhamilpur3784
@gopalhamilpur3784 9 ай бұрын
wow such a excellent explanation 👏👏👏
@food8814
@food8814 3 жыл бұрын
with %f format the output is with 6 precision
@AlgorithmCodings
@AlgorithmCodings 2 жыл бұрын
a+=b*10 or a+=(b*10) .it not a problem if u gave parathesis or not.
@tulsibhatta5566
@tulsibhatta5566 10 ай бұрын
thank you mam for this explain🙂
@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
@_adyasha5056
@_adyasha5056 Жыл бұрын
Thanks a lot mam🥰🥰🤗 God bless you....
@sauravewankhad1884
@sauravewankhad1884 2 ай бұрын
a+b=17.000000a-b=3.000000a*b=70.000000a|b=70.000000
@AlgorithmCodings
@AlgorithmCodings 2 жыл бұрын
after putting %f .it shows correct answer and after decimal point shows 6 number
@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
@im__rahul
@im__rahul 3 жыл бұрын
Mam congratulations for achieve 3lac subscriber👍👍💐
@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 8 ай бұрын
it will update to 5
@priyankapaul7077
@priyankapaul7077 2 жыл бұрын
Mam which compiler is best for c?
@tps8470
@tps8470 2 жыл бұрын
Thank you Mam
@izharkhankhattak
@izharkhankhattak 3 жыл бұрын
Good work. Thank you so much.
@AnkitKumar-hy4ly
@AnkitKumar-hy4ly 2 жыл бұрын
really such a great style of teaching maam but maam kuch hindi mein be bola kare please !!👍
@rajamanmohan777
@rajamanmohan777 2 жыл бұрын
Aap gajab padhati hai mam
@GOWRIN-tn6ux
@GOWRIN-tn6ux 6 ай бұрын
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 5 ай бұрын
because conio file is not there in online c compiler
@gmramkumar9536
@gmramkumar9536 3 жыл бұрын
Mam... itha na solliye aagaanu.... neenga avlo azhagu mam
@epicmotivationtime8497
@epicmotivationtime8497 3 жыл бұрын
Nice video of c language
@ronycb7168
@ronycb7168 11 ай бұрын
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 2 ай бұрын
Give clrscr() and run bro
@35.ayeshakhan73
@35.ayeshakhan73 3 жыл бұрын
Mam you are great👍👍👍👍👍👍
@krishnachaitanyabalaraju1066
@krishnachaitanyabalaraju1066 2 жыл бұрын
Do a video on how to use visual stdio code
@syedalifathimaa9618
@syedalifathimaa9618 3 жыл бұрын
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.
@dipteshsahoo744
@dipteshsahoo744 2 жыл бұрын
wow wonderful lecture
@sagarpradhan1178
@sagarpradhan1178 Жыл бұрын
Those have not laptop facing problem mam , so what can we do mam ...any other way or app in phn 🥺
@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
@rajniyadav1814
@rajniyadav1814 3 жыл бұрын
Mam please provide notes also
@kumarkrishna338
@kumarkrishna338 Жыл бұрын
So sweet very naic
@naveenkumarpragtiengcolleg6512
@naveenkumarpragtiengcolleg6512 2 жыл бұрын
Is there any notes of this topic from you mam?
@gmramkumar9536
@gmramkumar9536 3 жыл бұрын
I'm a big fan of that smile at 15:31
@Iplpredictions9814
@Iplpredictions9814 6 күн бұрын
madam why your are using getch()......?
@snehalshelar7778
@snehalshelar7778 3 жыл бұрын
Mam u teach only DS?
@tapasnayak3708
@tapasnayak3708 3 жыл бұрын
Thank you so much.. Mam..
@kirantechnophile7852
@kirantechnophile7852 3 жыл бұрын
Thanks for wearing Jacket.. Now I am perfectly concentrating only board
@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
@anilroy3943
@anilroy3943 10 ай бұрын
Beauty with brain
@this.g1
@this.g1 3 жыл бұрын
Mam , how can work together mysql with c language or firebase ??
@syedalifathimaa9618
@syedalifathimaa9618 3 жыл бұрын
zetcode.com/db/mysqlc/ I think it can give some idea
@anilgoudyarlagadda7248
@anilgoudyarlagadda7248 2 жыл бұрын
Mam please provide pdf ...book
@AmitKumar-tv8ng
@AmitKumar-tv8ng 3 жыл бұрын
Love you so much mam ❤️❤️❤️☺️🥰🥰🥰💕❣️
@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
@uttej1390
@uttej1390 3 жыл бұрын
Mam next plz start c++ course mam
@rharsha1383
@rharsha1383 2 жыл бұрын
MAAM PLEASE MAKE A PLAYLIST FOR PYTHON
@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.
@sumitsharma1204
@sumitsharma1204 2 жыл бұрын
Isme int a=b=c=d=10 karne par error bta rha hai....means declaration ke samay
@vilasmagdum1275
@vilasmagdum1275 3 жыл бұрын
hello mam could you please explain volatile keyword with example (c programming)
@abdulnasarachakzai2604
@abdulnasarachakzai2604 3 жыл бұрын
thanku you maam
@mandulanaveen61
@mandulanaveen61 2 жыл бұрын
Mam when to use%d and%f
@omprakashbhakar912
@omprakashbhakar912 2 жыл бұрын
how to write this a = b -a; in short form or a = 10-a; in short form
@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
@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
@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
@tithighosh2169
@tithighosh2169 3 жыл бұрын
Great ❤️❤️
@eeeeclips9424
@eeeeclips9424 3 жыл бұрын
I am interested to lesson your class
@ritheshn.m7200
@ritheshn.m7200 2 жыл бұрын
Is format specifier compulsory for all the printf output statments?
@pawanmittal8056
@pawanmittal8056 Жыл бұрын
yes
@eeeeclips9424
@eeeeclips9424 3 жыл бұрын
I am first comment madam
@NaseebKhan-hr1fm
@NaseebKhan-hr1fm 2 жыл бұрын
Mam you give the lecture of Urdu language please. I am Pakistani
@iqrarkhuroo3485
@iqrarkhuroo3485 2 жыл бұрын
Start java programming mam❤️
@Monstagegaming
@Monstagegaming 3 жыл бұрын
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 😁😉
@uduthasatheesh7967
@uduthasatheesh7967 Жыл бұрын
Madam..... could you please provide me pdf of this course?
@tangudusaisanthosh132
@tangudusaisanthosh132 Жыл бұрын
mam please start java classes
@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
@santruptabehera5267
@santruptabehera5267 2 жыл бұрын
Hello mam please upload notes of c language
@basinaharitha4229
@basinaharitha4229 3 жыл бұрын
Why we use getch()
@againdeepVlog
@againdeepVlog 2 жыл бұрын
Hello
@satyavasavi5361
@satyavasavi5361 2 жыл бұрын
Input function
@Twinkle_daily_recipe
@Twinkle_daily_recipe 2 жыл бұрын
to hold the screen output
@jitendratiwari4292
@jitendratiwari4292 3 жыл бұрын
Good, you are so intelligent. what do you eat?
@palanisamyj2315
@palanisamyj2315 Жыл бұрын
6:50 PEMDAS🐭
C_15 Operators in C - Part 3  |  C Programming Tutorials
12:03
Jenny's Lectures CS IT
Рет қаралды 262 М.
Personal Portfolio Website using HTML, CSS
1:01:39
Saken Rai
Рет қаралды 171
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,4 МЛН
快乐总是短暂的!😂 #搞笑夫妻 #爱美食爱生活 #搞笑达人
00:14
朱大帅and依美姐
Рет қаралды 12 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 32 МЛН
C_18 Operators in C - Part 6 | Bitwise Operators |  C Programming Tutorials
15:21
Jenny's Lectures CS IT
Рет қаралды 450 М.
C_33 Introduction to Loop in C Language | Need of loops| C Language Tutorials
15:55
C_16 Operators in C - Part 4  |  C Programming Tutorials
20:32
Jenny's Lectures CS IT
Рет қаралды 257 М.
C_62 Strings in C - part 1 | C programming tutorials
15:41
Jenny's Lectures CS IT
Рет қаралды 519 М.
C_10 Data Types in C - Part 1 | C Programming Tutorials for Beginners
19:50
Jenny's Lectures CS IT
Рет қаралды 679 М.
C_17 Operators in C - Part 5 (Logical Operators) |  C Programming Tutorials
20:51
Jenny's Lectures CS IT
Рет қаралды 251 М.
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,4 МЛН