C_23 Formatted Input Functions in C Language || C Programming

  Рет қаралды 258,892

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

Пікірлер: 213
@umairmalik7875
@umairmalik7875 3 жыл бұрын
Polite speaking to deliver lecture with soft voice.I'm glad to listen the topics. Love you nice teacher for me.
@blueglacier007
@blueglacier007 Жыл бұрын
I have been following through your c programming course and I'm impressed by your clear and concise explanation.THANK YOU JENNY
@mounikalukalapu7587
@mounikalukalapu7587 2 жыл бұрын
She deserves more likes 🥺 and even she is not asking for that
@abdulrahimjalloh363
@abdulrahimjalloh363 Жыл бұрын
If you print x it will give you 1 for int, and 1.000000 for float. But it all depends to the amount of format specifiers you have in scanf. If you have 3 format specifiers, then x will be 3. Thanks very much mam. May God bless.
@bhimanagoudagoudappagoudra2396
@bhimanagoudagoudappagoudra2396 7 ай бұрын
float will give only 1.00000 after dot 5 digit only sir
@vinayaksharma945
@vinayaksharma945 3 жыл бұрын
Mam please give a ❤️ to.this comment I watch ur lectures daily plsss plss mam
@krupa1963
@krupa1963 3 жыл бұрын
11:22 comma is acting as a *separator* 19:11 X will be assigned with 2 madam
@pradeepselakoti8787
@pradeepselakoti8787 2 жыл бұрын
How 2 will come explain?
@manojKumarBoddu-eu7mz
@manojKumarBoddu-eu7mz Жыл бұрын
Operater
@manojKumarBoddu-eu7mz
@manojKumarBoddu-eu7mz Жыл бұрын
2 formatt speciers
@santoshreigns6908
@santoshreigns6908 3 жыл бұрын
Mam ur teaching way is superb my request for you to make lectures on python also 🙏
@madhumalipremarathna3038
@madhumalipremarathna3038 3 жыл бұрын
11:27 The comma act as a separator there. 19:30 The output for x will be 2 if we write , scanf("%d" , &a , &b) ; sum will be give some garbage value 😂 and x will give 1. if we write , scanf("%d %d %d" , &a , &b) ; It will get the input from user but will not return any value for sum or x.
@farzanaashraf8136
@farzanaashraf8136 2 жыл бұрын
Very thanks 😊
@ManishSingh-he1ei
@ManishSingh-he1ei Жыл бұрын
???
@riyasharan8959
@riyasharan8959 Жыл бұрын
unbeatable playlist of c language ,ever found in youtube learning c from this playlist in 2023
@subha2860
@subha2860 13 күн бұрын
You are such a fabulous teacher I am easily able to learn because of you Thank you mam and please support us like this 😊
@HardikBarot-ud2ui
@HardikBarot-ud2ui Жыл бұрын
x will give the total of "control string", %d %d %f %s total value of X is 4...
@harmeetsingh2976
@harmeetsingh2976 3 жыл бұрын
Mam you are the great teacher and explains all the topics clearly without any doubt very well I am beginner for this subject because I am student of computer science and engineering
@ahmedhesain4271
@ahmedhesain4271 2 жыл бұрын
x value will be 2 and that means the number of format specifier you taking the user input using them.
@brindhavenugopal4395
@brindhavenugopal4395 3 жыл бұрын
(11.22)-comma is a separator mam
@shacks05
@shacks05 3 жыл бұрын
I kindly Request . To Pls Make Videos on Python As soon as possible mam ❤️ . Because we are Addicted to u 🙏☺️
@aniketthorat9732
@aniketthorat9732 3 жыл бұрын
See This Playlist : kzbin.info/aero/PLl2gq7invFLBhXOhUaBOX0dJ3r1eIpJpT #techblooded
@adithistar2189
@adithistar2189 3 жыл бұрын
@@aniketthorat9732 thank you 👍🥺✨
@techblaze516
@techblaze516 2 жыл бұрын
'x' here, will return the number of inputs taken by the scanf() function. And no other errors in any other case.
@AnkitYadav-cj6ut
@AnkitYadav-cj6ut Жыл бұрын
When legend teachers get their mistake they says" I am checking that you are attentive or not"😁 But mam you are a awesome teacher
@graphicslearn8568
@graphicslearn8568 3 жыл бұрын
MA'AM you r teaching method is very nice THANKS FROM PAKISTAN
@Hariharan_Karthikeyan
@Hariharan_Karthikeyan 3 жыл бұрын
Ma'am can you just make videos on Embedded C ? It might very useful for us
@cheklastudio11
@cheklastudio11 9 ай бұрын
Hi mam your lecture is very clear than our college lecture
@neutral_mindset
@neutral_mindset 3 жыл бұрын
Ma'am communication skills and attitude op 😍😍😍
@HaniHani-mu6ru
@HaniHani-mu6ru Жыл бұрын
mam one thing about is ur a " more then pro ".........🤩
@kathirvelanm991
@kathirvelanm991 3 жыл бұрын
Mam please continue DBMS and operating system mam , please...
@yogasankar2032
@yogasankar2032 3 жыл бұрын
Mam please upload towers of honoi problem using data structures
@isaac-victorshonowo1838
@isaac-victorshonowo1838 Жыл бұрын
Watched and Understood ❤
@அனுபவம்
@அனுபவம் Жыл бұрын
very nice explain 😊
@tithighosh2169
@tithighosh2169 3 жыл бұрын
Ma'am please upload videos of pointers, structure, union, enum, files handling, command line argument in c
@sunandamallick4310
@sunandamallick4310 3 жыл бұрын
I kindly request to please make videos on c programming function as soon as possible mam🙏.🎉
@harshpandey8159
@harshpandey8159 3 жыл бұрын
Ma'am u gone to core amazing maam
@scifoga
@scifoga Жыл бұрын
Thanks for your explaination Thanks a bunch...
@akalya5050
@akalya5050 3 жыл бұрын
I m really thankful to you mam...Your way of explanation again and again I love it...You are really great mam..💯
@junaidking1074
@junaidking1074 Жыл бұрын
Hi
@abhishekkumarjha4314
@abhishekkumarjha4314 3 жыл бұрын
Tqq Mam.
@maheshdubal8369
@maheshdubal8369 3 жыл бұрын
Mam can you make a video for user defined functions in which function call is there
@informationtrader6959
@informationtrader6959 2 жыл бұрын
You can watch my videos bro for that information
@SashankSasi-om4el
@SashankSasi-om4el 5 ай бұрын
Super madam explain nice madam
@pallavipatil1148
@pallavipatil1148 3 жыл бұрын
Nice explain mam
@tps8470
@tps8470 2 жыл бұрын
Thanks a lot Mam
@souravbhagat1358
@souravbhagat1358 3 жыл бұрын
Mam plz make a vedio lecture series on Adavanced Algorithm design you uplaoded the vedios on algorithm but plz upalod remaining lectures on Algorithm
@fuadhamedmohamed4311
@fuadhamedmohamed4311 2 жыл бұрын
we need more
@ranjeetkumarprajapati1756
@ranjeetkumarprajapati1756 3 жыл бұрын
Mam, SQL ki full fom structure query language hoti h.. kya kisi condition me iski full form standard query language ho skti h ya nahi....
@sandeepoad658
@sandeepoad658 2 жыл бұрын
Thankyou maya love from Nepal
@JESUS_FOR_EVERYTHING
@JESUS_FOR_EVERYTHING Жыл бұрын
mam scanf(int=d,float=f ,char=c why float= f and char c but int=i but we have use d yyyy???
@shivasmart967
@shivasmart967 Жыл бұрын
tq mam
@swayam50
@swayam50 3 жыл бұрын
Nice
@praneethtanguturu2922
@praneethtanguturu2922 2 жыл бұрын
Mam in the programm ,if i use only main() instead of void main() it is getting error why?
@KalingaRatnaDas
@KalingaRatnaDas Жыл бұрын
Thank you mam ❤
@thopbgm38
@thopbgm38 3 жыл бұрын
Keep all videos at a single place difficult to search
@ashishxsoni
@ashishxsoni Жыл бұрын
Gr8
@sherin_nila277
@sherin_nila277 3 жыл бұрын
Mam please upload the video for pointers
@reganakandwanaho1223
@reganakandwanaho1223 2 жыл бұрын
The x gives the number of operands taking part in the sum function
@furzi1432
@furzi1432 3 жыл бұрын
Can you tell about [^ ] in scanf and %*c and %[^ ]%*c in scanf plss 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@farzanareefatraha8635
@farzanareefatraha8635 3 жыл бұрын
(^)- this symbol is called circumflex. Normally if %[ ... ] is used then scanning is done till whatever(here, ...) is written inside the 3rd bracket is found in input. The scanning gets stopped just the moment when any character outside “...” this range is found. For instance, Say char x[]=“hello”; printf(“%s ”,x); scanf(“%[abcd]”,x); printf(“%s ”,x); Here, in test case #1. cadbcadbaefgchs Output : _________ hello cadbcadba #2. jkalehcd Output : ________ hello hello Why? In T#1 the scanf function scanned(and replaced the original string “hello”) our input string till it found [abcd] in the input string “cadbcadbaefgchs” and just when it encountered a letter outside the range [abcd], in this case, it is ‘e’, it stopped scanning and put ‘ ’ at the end. So after scanning x[]=“cadbcadba”. In T#2 the first character scanf encounters is ‘j’ which is out of [abcd] range so it doesn’t scan and replace original string “hello” at all and hence x remains x[]=“hello”. NOW Whenever we use circumflex(^) here, i.e. %[^...] , it tells scanf to scan anything unless anything from (...) portion is encountered. As soon as any character/digit from (...) portion is encountered, scanf will stop scanning and put a ‘ ’ and end the string right there. For instance, for T#2 now if we modify the code to char x[]=“hello”; printf(“%s ”,x); scanf(“%[^abcd]”,x); printf(“%s ”,x); our output will (lemme remind I am writing the output for T#2, if you understand what I am blabbering here, you may reply what you think will be the output for T#1 in the comment section :3) Output for T#2 ________________ hello jk Why? The scanf function scanned upto “jk” but then it encountered ‘a’ which belongs to [abcd] range and this time as we have used “^” before [abcd] our scanf will not scan anything from this range and if it encounters a/b/c/d it will stop scanning. And that’s what happened when it encountered ‘a’ after scanning “jk”; it stopped scanning further and replaced “hello” with “jk”. I know this was a whole lot of blabbering :3. But now can you figure out how “[^ ]” works? PAUSE & THINK HINT : --- indicates a new line(simply, enter key). So when we are using ^ we are indicating keep scanning the string till you encounter a new line and don’t stop before you encounter new line. So when you are entering HELLO WORLD.(new line/enter key) I AM AN ALIEN.(newline/enter key) Your code keeps scanning the string till it finds the first new line which is after “.” Of “HELLO WORLD.” and then stops scanning and prints “HELLO WORLD” For instance, now if we modify the earlier code as char x[]=“hello”; printf(“%s ”,x); scanf(“%[^ ]”,x); printf(“%s ”,x); and if you give input : Input: --- HELLO WORLD. I AM AN ALIEN. Output : ---- hello HELLO WORLD.
@furzi1432
@furzi1432 3 жыл бұрын
@@farzanareefatraha8635 Thankyou very much bhaiya 👍👍🥺🥺
@Prajwal.Suresh
@Prajwal.Suresh 2 жыл бұрын
@@farzanareefatraha8635 😶 i am first year student and understand only little bit in this bro
@farzanareefatraha8635
@farzanareefatraha8635 2 жыл бұрын
@@Prajwal.Suresh I am also a first year student bro 😂 DW! Search and Read a little more about it and I am sure you will understand it. At first when my professor told us about it I didn’t also get it but at the end HAD to understand it as he compelled us 😕.
@Prajwal.Suresh
@Prajwal.Suresh 2 жыл бұрын
@@farzanareefatraha8635 ok bro 🙄
@pateljainish4692
@pateljainish4692 2 жыл бұрын
Mem your looking very beautiful that’s why I’m watching your video ☺️
@swayamgupta3188
@swayamgupta3188 18 күн бұрын
After adding x it is not giving us a garbage value
@scifoga
@scifoga Жыл бұрын
Can I use Blankspace between "control/conversion string"??
@Anjanpradha2754
@Anjanpradha2754 3 жыл бұрын
Thank you mam
@15easy
@15easy 3 жыл бұрын
Without declaration int main Program isn't running
@Rajeevkumar-cm4mn
@Rajeevkumar-cm4mn Жыл бұрын
nice 👍
@syedalifathimaa9618
@syedalifathimaa9618 3 жыл бұрын
x = scanf("%d %d",&a,&d); x has 2 y = scanf("%d",&b,&e); y has 1 with warning - too many arguments z = scanf("%d %d %d",&c,&f); warning - %d expects int argument After giving input, then goes to segmentation fault!
@saqib_720
@saqib_720 2 жыл бұрын
put integer value
@SadhanaSharma
@SadhanaSharma 2 жыл бұрын
11:20 comma is acting as a seperator
@goldenvideo6587
@goldenvideo6587 3 жыл бұрын
Mam Hindi medium walo ko bhi pdaya kariye
@18fatima15
@18fatima15 7 ай бұрын
17:35 2 18:15 #include int main() { int a,b,x; x=scanf("%d",&a,&b); printf("%d",x); return 0; } output: 17 18 1 #include int main() { int a,b,x; x=scanf("%d %d %d",&a,&b); printf("%d",x); return 0; } output: 12 13 14 -------------------------------- Process exited after 8.303 seconds with return value 3221225477 Press any key to continue . . .
@tejateja2969
@tejateja2969 Ай бұрын
@tellalavanya3819
@tellalavanya3819 11 ай бұрын
In this scanf() function we can skip some input using* symbol plz explained with examples
@continnum_radhe-radhe
@continnum_radhe-radhe 2 жыл бұрын
🔥🔥🔥
@shubmishra7134
@shubmishra7134 3 жыл бұрын
𝕸𝖆𝖒 𝕻𝖗𝖔𝖏𝖊𝖈𝖙𝖘 𝖇𝖍𝖎 𝖇𝖆𝖙𝖆𝖓𝖆 𝕱𝖔𝖗 𝖎𝖓𝖙𝖊𝖗𝖓𝖘𝖍𝖎𝖕 𝖑𝖊𝖛𝖊𝖑.
@mdnazamahmad550
@mdnazamahmad550 3 жыл бұрын
Mam is so beautiful😍
@collinsotieno511
@collinsotieno511 6 ай бұрын
i saw the eror before you told mee 😊😁
@ececse
@ececse Жыл бұрын
thankyou mam🙏
@sridevi9353
@sridevi9353 3 жыл бұрын
Mam are you taking course for c,c++ and java
@abhinavshukla2202
@abhinavshukla2202 3 жыл бұрын
Hi bhoo devi
@BandariBhavya-y6n
@BandariBhavya-y6n Жыл бұрын
Yes madam
@jackbhai-j8u
@jackbhai-j8u 11 ай бұрын
Comma is acting as a separator in scanf() mam
@ranveerbairwa6011
@ranveerbairwa6011 3 жыл бұрын
Mem live class kab lagti hai aapki
@julfikarali3986
@julfikarali3986 Жыл бұрын
❤❤❤❤
@praneethtanguturu2922
@praneethtanguturu2922 2 жыл бұрын
Mam when i want to use void main and int main
@Cartoon_Characterz
@Cartoon_Characterz Жыл бұрын
Is it mandatory to use ampersand in scanf() ? Because i have noticed no error occours if we omit ampersand
@shahidnawaz3832
@shahidnawaz3832 3 жыл бұрын
Really thAnks
@aniketkumar3126
@aniketkumar3126 3 жыл бұрын
5th comment Nice 👍
@ranjeetkumarprajapati1756
@ranjeetkumarprajapati1756 3 жыл бұрын
@@vivekprasad_official_music2267 nahi nai ye kya h.. mene pucha kya comment me link diya apne...
@karthickambrish
@karthickambrish 3 жыл бұрын
Comma is used as a operator mam...???
@user-Mk0908
@user-Mk0908 2 жыл бұрын
I wil send u gift mam tel me &jenny printf(“address of jenny “);& scanf( “phne number”) 🤣😛 Never got e perfect-brainer lecturer as u In my entire btech 👍👏👌u teach concepts so clear of any confusion & perfectly wit examples & accurate on piont wit its realtime use great 👏✌️
@abdulrahimjalloh363
@abdulrahimjalloh363 Жыл бұрын
Mam, can i use scanf without & if my variable is a pointer ? example: int*a; scanf("%d",a);
@Fable_o
@Fable_o 9 ай бұрын
I think in this case it will give the address of the variable a. I am not sure though.
@SadhanaSharma
@SadhanaSharma 2 жыл бұрын
19:08 output will be 2
@balkrishnabane1392
@balkrishnabane1392 2 жыл бұрын
Can you plz explain how we are getting x=2
@motivation_hub117
@motivation_hub117 3 жыл бұрын
Mam why can't we use only printf
@sarojkhatiwada6224
@sarojkhatiwada6224 3 жыл бұрын
khatri is also a caste in nepal....are u related to nepal?i think you are chhetriya..are u?
@kiranchaudhary9949
@kiranchaudhary9949 Жыл бұрын
here the value of x is 2 same as how many times scanf takes input from user.
@nagarjunakammara5796
@nagarjunakammara5796 10 ай бұрын
Medam is it true presently every one following ANSI C language?
@lalitharamachandra6659
@lalitharamachandra6659 9 ай бұрын
Mam comma acts as operator because first operator will not be discarded it is used in evaluation. 9:47
@honey-vg2vk
@honey-vg2vk 2 жыл бұрын
I am getting -1 for X=scanf("%d%d",&a,&b); Printf("%d",X);
@lucky-ls2es
@lucky-ls2es Жыл бұрын
Me too
@nayanraut1412
@nayanraut1412 2 жыл бұрын
how to read the scanf function body
@meghasinha1706
@meghasinha1706 3 жыл бұрын
Mam plz array pointer and structures
@chandrabose8774
@chandrabose8774 2 жыл бұрын
Mem teach data structure algorithms analysis in c++ plzz teacher
@shashank_kishore_
@shashank_kishore_ Ай бұрын
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
@nitish2001nb
@nitish2001nb 3 жыл бұрын
mam real examples k sath illustrate kia kijiye pls
@honey-vg2vk
@honey-vg2vk 2 жыл бұрын
Comma acts as a separator
@harshvardhansharma22
@harshvardhansharma22 3 жыл бұрын
, is working as seprator
@hariparuchuru3858
@hariparuchuru3858 2 жыл бұрын
comma is acting as separator
@veeramreddyramanareddy5497
@veeramreddyramanareddy5497 4 ай бұрын
Seperator
@kiranchaudhary9949
@kiranchaudhary9949 Жыл бұрын
comma is acting as a separator
@abhishekpandey7338
@abhishekpandey7338 Жыл бұрын
Mam why we are not using return 0 ;statement
@akashtg6646
@akashtg6646 2 жыл бұрын
Comma act as separator
@sinduvelpula7658
@sinduvelpula7658 2 жыл бұрын
comma acts as a seperator
@hibro22660
@hibro22660 10 ай бұрын
Yes , not used3 In main function
@padmapranathi8426
@padmapranathi8426 Ай бұрын
Void main()
Coding Session # 8
1:26:56
Samaton Dynamics
Рет қаралды 20
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 56 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,9 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 32 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 3,9 МЛН
Input and Output:  Printf and Scanf - C Programming Tutorial 06
17:19
C_27 If Statement in C | C Programming Tutorials
20:56
Jenny's Lectures CS IT
Рет қаралды 407 М.
C_25 Unformatted Input Functions in C | C Programming Tutorials
14:19
Jenny's Lectures CS IT
Рет қаралды 238 М.
Variables & Data Types In C: C Tutorial In Hindi #6
20:01
CodeWithHarry
Рет қаралды 1,4 МЛН
C_53 Introduction to Two Dimensional (2D) Arrays in C
13:04
Jenny's Lectures CS IT
Рет қаралды 363 М.
C_33 Introduction to Loop in C Language | Need of loops| C Language Tutorials
15:55
C_18 Operators in C - Part 6 | Bitwise Operators |  C Programming Tutorials
15:21
Jenny's Lectures CS IT
Рет қаралды 433 М.
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 56 МЛН