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.. 😊
@rithish43523 жыл бұрын
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
@tejashwini53432 жыл бұрын
Yes bro......that's really good idea
@kolasiddeganesh8512 жыл бұрын
Yes that would be 👍🏻 awesome
@RiteshKumar-pu3gp2 жыл бұрын
Then y can see code with Harry he does practical also
@harshleenkaur67943 жыл бұрын
You are the best teacher i have ever read C language from!!!
@shrur35272 жыл бұрын
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
@venup53813 жыл бұрын
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....29863 жыл бұрын
What Did u use "%d" or "%f". ??
@vibhusharma28812 жыл бұрын
@@aryan....2986 obviously you have to use "%f"
@028-bsabana52 жыл бұрын
1.000000 here also we take 6bytes then how did u get 428571
@bharathivlogs13062 жыл бұрын
@@028-bsabana5 yes in int we can't use fraction but float we can
@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 Жыл бұрын
If one is int and one is float it is a negative value as output Tq so much mam for your vedios ❤
@specificgyan-adarshmishra78573 жыл бұрын
Now c program also has taken part of my 11 class since you start uploading c programming video #passion #c_program #Jenny_Lectures 🙏
@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
@sulurulokesh78777 ай бұрын
#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-vf3ig3 жыл бұрын
If I was your computer....I would compile anything u write😁
@gamesuid3233 Жыл бұрын
Simp spotted 😂
@suryakant6357 Жыл бұрын
@@gamesuid3233😂😊🎉wlu 😊😂😊😊u
@runmorewithmotivationdude1637 Жыл бұрын
The ultimate simp
@muskaan00001 Жыл бұрын
Areyyy
@Anirudh.247 Жыл бұрын
Nice one👏
@bashshar3 жыл бұрын
You are the best teacher to whom I learn c language programing
@jjancylisha35372 жыл бұрын
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-radhe2 жыл бұрын
Wow.... Aapne bhut acche se smjhaya hai thank you soo much 🔥🔥🔥
@GangothriPathhiri Жыл бұрын
Using float after get output a+b=17.000000 a-b=3.000000 a*b=70.000000 a/b=1.428571
@CSEconceptswithParinita3 жыл бұрын
Very easily and beautifully explained 👌👌💛
@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_71173 ай бұрын
@@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 :)
@saiishwarya8123 ай бұрын
@@rehana_7117 thank you✨
@sathyasathyam69303 жыл бұрын
Well explaination.. From Tamilnadu
@kvpavankumar77243 жыл бұрын
ji your content is good I am using your youtube lectures as my revision, please add lectures for java, python and machine learning
@cforeveryone975413 күн бұрын
Hi madam , what is Lvalue required
@sagargowda32313 жыл бұрын
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...
@chitwanverma453611 ай бұрын
Identifier rule states we cannot take special symbol with variable like A+=1
@pyntngenlangchyne83803 жыл бұрын
Please explain the full course of c program..your teaching is absolutely great👍👍👍👍👍
@harshleenkaur67943 жыл бұрын
Thank yo ma'am. for all your efforts!!
@sivakarthikeyans38943 жыл бұрын
Well Teaching Mam ! Please Continue The C Programming Series
@hiriharanvm55686 ай бұрын
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; }
@adidada64563 жыл бұрын
Mam aap bhau accha padhati hai , Thank u mam☺️
@le301-rakeshkumar93 жыл бұрын
✨✨✨✨✨✨✨ 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, ✨✨✨✨✨✨✨✨
@nisarali02773 жыл бұрын
printf("a+b=%d",a+b); 17.00 -=-3.0 *=70.0 /=0.70
@shaileshrajthakur15893 жыл бұрын
Kya mein python latest version 3.9.1 apne windows 7 laptop par install kar sakta hu if yes then explain step by step
@debojitacharjee3 жыл бұрын
*THERE ARE MAINLY 3 TYPES OPERATORS ONLY* - Unary, Binary and Ternary operators. The operators discussed here comes under Binary category.
@ececse2 жыл бұрын
these are discussed in previous vidoe.....
@debojitacharjee2 жыл бұрын
@@ececse I know that but the examples are given in this video is only for binary operation.
@food88143 жыл бұрын
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 Жыл бұрын
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
@CSBMUDAVATHSHILPA2 жыл бұрын
plz mam could u make a series for other languages also...like for c++ and java.
@subrahmanyak.v92615 ай бұрын
If you are master in maths you can crack any programming languages easyly
@gopalhamilpur37849 ай бұрын
wow such a excellent explanation 👏👏👏
@food88143 жыл бұрын
with %f format the output is with 6 precision
@AlgorithmCodings2 жыл бұрын
a+=b*10 or a+=(b*10) .it not a problem if u gave parathesis or not.
@tulsibhatta556610 ай бұрын
thank you mam for this explain🙂
@handekarilingojivarasaikri7823 жыл бұрын
Output for one float and one integer addition/subtraction/division/multiplication will be a garbage value
after putting %f .it shows correct answer and after decimal point shows 6 number
@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__rahul3 жыл бұрын
Mam congratulations for achieve 3lac subscriber👍👍💐
@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-nm8iv8 ай бұрын
it will update to 5
@priyankapaul70772 жыл бұрын
Mam which compiler is best for c?
@tps84702 жыл бұрын
Thank you Mam
@izharkhankhattak3 жыл бұрын
Good work. Thank you so much.
@AnkitKumar-hy4ly2 жыл бұрын
really such a great style of teaching maam but maam kuch hindi mein be bola kare please !!👍
@rajamanmohan7772 жыл бұрын
Aap gajab padhati hai mam
@GOWRIN-tn6ux6 ай бұрын
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_speaks105 ай бұрын
because conio file is not there in online c compiler
@gmramkumar95363 жыл бұрын
Mam... itha na solliye aagaanu.... neenga avlo azhagu mam
@epicmotivationtime84973 жыл бұрын
Nice video of c language
@ronycb716811 ай бұрын
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!
@CKgaming20002 ай бұрын
Give clrscr() and run bro
@35.ayeshakhan733 жыл бұрын
Mam you are great👍👍👍👍👍👍
@krishnachaitanyabalaraju10662 жыл бұрын
Do a video on how to use visual stdio code
@syedalifathimaa96183 жыл бұрын
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
@hetpatel29923 жыл бұрын
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.
@dipteshsahoo7442 жыл бұрын
wow wonderful lecture
@sagarpradhan1178 Жыл бұрын
Those have not laptop facing problem mam , so what can we do mam ...any other way or app in phn 🥺
@yeshueditz..7341 Жыл бұрын
Mam, why should we use getch and clrscr
@jayaramkumar5148 Жыл бұрын
Mam.. Expected identifiers or '('before 'int'
@jayaramkumar5148 Жыл бұрын
How to solve this issue
@rajniyadav18143 жыл бұрын
Mam please provide notes also
@kumarkrishna338 Жыл бұрын
So sweet very naic
@naveenkumarpragtiengcolleg65122 жыл бұрын
Is there any notes of this topic from you mam?
@gmramkumar95363 жыл бұрын
I'm a big fan of that smile at 15:31
@Iplpredictions98146 күн бұрын
madam why your are using getch()......?
@snehalshelar77783 жыл бұрын
Mam u teach only DS?
@tapasnayak37083 жыл бұрын
Thank you so much.. Mam..
@kirantechnophile78523 жыл бұрын
Thanks for wearing Jacket.. Now I am perfectly concentrating only board
@chinnammanikantareddy8213 жыл бұрын
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
@anilroy394310 ай бұрын
Beauty with brain
@this.g13 жыл бұрын
Mam , how can work together mysql with c language or firebase ??
@syedalifathimaa96183 жыл бұрын
zetcode.com/db/mysqlc/ I think it can give some idea
@anilgoudyarlagadda72482 жыл бұрын
Mam please provide pdf ...book
@AmitKumar-tv8ng3 жыл бұрын
Love you so much mam ❤️❤️❤️☺️🥰🥰🥰💕❣️
@k.annpurnamma33573 жыл бұрын
Mam please tell me how this for this a=( a=+1) I got output 1 For this a=(a+=1) I got output 128
@satyavasavi53612 жыл бұрын
A=1
@satyavasavi53612 жыл бұрын
a=a+1
@uttej13903 жыл бұрын
Mam next plz start c++ course mam
@rharsha13832 жыл бұрын
MAAM PLEASE MAKE A PLAYLIST FOR PYTHON
@dineshjl48213 жыл бұрын
Why do we use "%d" in the program ?
@justsensei17383 жыл бұрын
%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.
@sumitsharma12042 жыл бұрын
Isme int a=b=c=d=10 karne par error bta rha hai....means declaration ke samay
@vilasmagdum12753 жыл бұрын
hello mam could you please explain volatile keyword with example (c programming)
@abdulnasarachakzai26043 жыл бұрын
thanku you maam
@mandulanaveen612 жыл бұрын
Mam when to use%d and%f
@omprakashbhakar9122 жыл бұрын
how to write this a = b -a; in short form or a = 10-a; in short form
@akashkadali52563 жыл бұрын
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
@satyavasavi53612 жыл бұрын
We can run 8bit,16 bit,32bit and 64 bit operations on 64 bit processor
@srinivasnaraparaju38022 жыл бұрын
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
@bharathivlogs13062 жыл бұрын
Bro what do they teach in 1st year please tell me bro
@nidhimishra85982 жыл бұрын
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
@tithighosh21693 жыл бұрын
Great ❤️❤️
@eeeeclips94243 жыл бұрын
I am interested to lesson your class
@ritheshn.m72002 жыл бұрын
Is format specifier compulsory for all the printf output statments?
@pawanmittal8056 Жыл бұрын
yes
@eeeeclips94243 жыл бұрын
I am first comment madam
@NaseebKhan-hr1fm2 жыл бұрын
Mam you give the lecture of Urdu language please. I am Pakistani
@iqrarkhuroo34852 жыл бұрын
Start java programming mam❤️
@Monstagegaming3 жыл бұрын
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 Жыл бұрын
Madam..... could you please provide me pdf of this course?
@tangudusaisanthosh132 Жыл бұрын
mam please start java classes
@dominicamaria28973 жыл бұрын
14:20 Madam Please tell me where should I practice these sessions of c language... Please reply....🙏🙏🙏
@LIGHT-fz8yu3 жыл бұрын
Visual studio codr
@dominicamaria28973 жыл бұрын
@@LIGHT-fz8yu Thank you. Where should I download this?
@LIGHT-fz8yu3 жыл бұрын
@@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-fz8yu3 жыл бұрын
@@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