Lecture 26 File Opening Modes in C Language Hindi

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • Like, Comments, Share and SUBSCRIBE

Комментарии • 131

  • @alonegirljourney
    @alonegirljourney 4 года назад +19

    Tqs sir for helping poor student like me may god bless you with successful and long life

  • @vakhariyajay2224
    @vakhariyajay2224 2 года назад +4

    Thank you very much. You are a genius. 👍👍🔝🔝🙏🙏👌👌

  • @kingfisher8260
    @kingfisher8260 2 года назад +4

    God level teacher. 🙏🏻🙏🏻

  • @sankalpdixit9510
    @sankalpdixit9510 5 лет назад +2

    Hamein ye video pasand aaya h or hamne ice like bhi kara h

  • @ranjanlamichhane809
    @ranjanlamichhane809 5 лет назад +2

    Wow.I like your video so much😊😊

  • @ganeshgauttam
    @ganeshgauttam 4 года назад +2

    Saurabh ji...Pl correct the description of r+ mode in the table describing file modes. Thanks

  • @sachinm5900
    @sachinm5900 3 года назад

    Thank you Sir you are helping students like me whose English is too weak.

  • @ashishvarsani8761
    @ashishvarsani8761 3 года назад +1

    This video is also useful in 2021

  • @mobeennekakhtar710
    @mobeennekakhtar710 7 лет назад +52

    sorry Sir, i think there is an error in ur tutorial where you say r+ -> doesnot create file if not exist where as in ur notes what u r showing it says r+ -> create file if not exist.

    • @ashishmajhi2330
      @ashishmajhi2330 6 лет назад +2

      i also think so

    • @Compinfo-q5c
      @Compinfo-q5c 6 лет назад

      My question is also same

    • @khademali7692
      @khademali7692 6 лет назад

      ache se suno lecture...........

    • @khademali7692
      @khademali7692 6 лет назад

      koi problem nahi hai thik se samjho bro......

    • @vaibhawkr3904
      @vaibhawkr3904 6 лет назад +1

      sir later says you can do both reading and writing in r+ mode but main intention is reading. watch carefully

  • @yashgoswami5374
    @yashgoswami5374 7 лет назад +7

    r+ mode me aapne likha to ye Hai ki if file exist nahi karto to banjaegi but aap bol esa Rahe Hai k r ya r+ me new file banegi hi nahi,!!!!!

  • @hasanmahboobrahil
    @hasanmahboobrahil 5 лет назад

    your intentions and goal is worth appreciating . But Mr Modi is not in a good mood sirg. I am impressed by your way of making us understand what we usually use not to be able to easily understand. I have a message of love for India and all indian people. Hasan Khan Pakistan

  • @mohammadtaqi4051
    @mohammadtaqi4051 6 лет назад +1

    Superb explanations......

  • @bittuverma5105
    @bittuverma5105 8 лет назад +2

    sir apne kaha ki , r and r+ se file nahi create hogi. but apke video me jaha file modes ki discription likha hua hai waha, r+ ke samne-"create file if not exist". dikha rha hai. toh sirf r+ me file create hogi ki nai?

    • @yashgoswami5374
      @yashgoswami5374 7 лет назад

      Saurabh Shukla sir lekin aapne to likha Hai k create hogi

  • @divyanshch6368
    @divyanshch6368 6 лет назад

    There are many functions in c language which was not been taught to us so tell me how can i learn everything in c?
    And
    I have kearned c language from your videos or i have done practice of many questions from your site in c but i wanna do 1 to 5 programs every day where the all topics can br revised by every question where can i get those questions?

  • @mobeennekakhtar710
    @mobeennekakhtar710 7 лет назад +2

    best explanation !

  • @anuragupadhyay319
    @anuragupadhyay319 4 года назад

    Very easily explained sir 🙇

  • @deepakrs_007
    @deepakrs_007 3 года назад

    Best video. 👍

  • @prasuntiwari4291
    @prasuntiwari4291 6 лет назад +3

    Will the size of pointer always be 4 for all data types in a 32 bit compiler?

  • @sankalpsachan9199
    @sankalpsachan9199 4 года назад

    Most usefull channel but sir where the defination is written r+ is saying that create new file if not exsist and you are saying file will not be create

  • @HimanshuOmar-r3e
    @HimanshuOmar-r3e Год назад

    You are gem sir

  • @jutt_da_shugal2705
    @jutt_da_shugal2705 7 лет назад +1

    Its awesome....

  • @aryaparashar6333
    @aryaparashar6333 5 лет назад

    Sir ,Aapne kha hai ki agar 'w' mode use kerne se file create hogi( if not present) ,to sir why do we need to give if(fp==Null) condition kuki agar file file create honi hi hai chahe wo old content erase kerde aur fir create ho but create to hori haina,to wo Kabhi null to hogi nahi

  • @ashuranjanchoubey2984
    @ashuranjanchoubey2984 8 лет назад +4

    Hello sir
    Multithreading of c++ ka video share kigiye

  • @aryananshuman3263
    @aryananshuman3263 4 года назад

    Amazing amazing amazing... 💥💥💥

  • @mdabdulrahman3858
    @mdabdulrahman3858 3 года назад

    sir i want to know if my file is open in "w" mode and file also not present at that directory then ofcurse a file is going to create in the directory but if we chek condition
    if(fp==NULL)
    {
    printf("file not found or it can't be open");
    }
    sir aapne kaha tha lecture me k file kisi karan vas file can't open
    i wanted to know that reason

  • @techsapmadeeasy
    @techsapmadeeasy 5 лет назад +3

    If we want to show to scree what actual error is then write like :
    if(fp==NULL)
    {
    perror("error");
    exit(1);
    }

  • @dhananjaypatil3559
    @dhananjaypatil3559 8 лет назад

    you r great sir!!!

  • @aayushtheapple
    @aayushtheapple 4 года назад +1

    Mistake in this video :
    fopen returns NULL if FILE doesn't exists in "r" .
    fopen returns NULL if FILE doesn't exists in "r+" .
    *r+ will not create a new file if it doesn’t exists* .
    (sir said that r+ will also returns null in this case but in the notes it was written that it will create a new file . I checked this on Internet and Practically ( on geeksforgeeks there is wrong information ) and the conclusion is given as above (sir said this truley ... in the notes it is written by mistake ) 😅).
    *KEEP CODING* 🧑🏻‍💻

  • @gautamtiwari771
    @gautamtiwari771 8 лет назад

    sir as u said will see more examples in next the vdo's but as i notice this is last part. file handling related programs are not available in this 52 is the last vdo set.
    please reply
    tq sir

    • @gautamtiwari771
      @gautamtiwari771 8 лет назад

      Ok sir will be waiting... more how many vdo or topics are going to come ???

  • @gautambnsl
    @gautambnsl 4 года назад +3

    there is one mistake on that modes pic
    there is written"r+" can create a new file.
    whereas r+ can not create a new file.
    Sir correct it listen sir at 12:20.

  • @jutt_da_shugal2705
    @jutt_da_shugal2705 7 лет назад

    Sir u r great .....

  • @pathanboss613
    @pathanboss613 4 года назад +1

    Sir isme aapne baar baaar r+ modes me ye kaha hai ki File exist nahi hoti hai to File create nahi hoti prr sir is lecture me Jo aapne content likhaa hai usme to saaf saaf likha hai ki ."Create file If not exist" Sir ise aap clear krr dijiyee ki file exist nahi honee prr File create hogi ki nahi 🤷🏻‍♂️batayiyega zaroor Sir Jii 🙏🏻

    • @vishichaurasiya4427
      @vishichaurasiya4427 3 года назад

      Bhai mera bhi yahi doubt hai agar aapko answer pta ho to bta dijiye

  • @karanmaurya2216
    @karanmaurya2216 Год назад

    Thanks sir ji 🙏

  • @anuk943
    @anuk943 4 года назад

    if I create and save an empty file and then apply read mode on it...will it return the same NULL message ?

  • @pankajbudhlakoti1981
    @pankajbudhlakoti1981 5 лет назад

    You are great sir

  • @yashsrivastav4296
    @yashsrivastav4296 3 года назад

    why int main() is using in function can we use void main()?

  • @ayushipriya7811
    @ayushipriya7811 3 года назад

    Sir aap r or r+ ka bolay ki file nhi open hoga if it don't exit but table may r+ka kuch or likha hai

  • @rajnish1002
    @rajnish1002 3 года назад

    good going on

  • @jugalkhajuriya9933
    @jugalkhajuriya9933 8 лет назад +4

    What’s difference between char s[] and char *s in C?

    • @shivaagrawal6580
      @shivaagrawal6580 4 года назад +11

      Char s[] means creating an array of char type ,means string and char *s means pointer of char type which stores address of only char type variable.

    • @kingfisher8260
      @kingfisher8260 2 года назад

      @@shivaagrawal6580 5 saal bad reply karke kya fayda? 🤣🤣

    • @shivaagrawal6580
      @shivaagrawal6580 2 года назад +1

      @@kingfisher8260 😂😂

  • @vaibhavjoshi6853
    @vaibhavjoshi6853 5 лет назад

    Thanks a lot Sir

  • @jutt_da_shugal2705
    @jutt_da_shugal2705 7 лет назад

    gud lectures sir......

  • @ankitfernandez370
    @ankitfernandez370 3 года назад

    🔥🔥🔥🔥🔥🔥

  • @navtej29
    @navtej29 2 года назад

    Thanks sir g

  • @sumanparajuli844
    @sumanparajuli844 8 лет назад +1

    hello sir u said in rplus mode if file doest exist it will not create new file but in the table there is written creates new file if it doesn't exist..what's actually is??

    • @khademali7692
      @khademali7692 6 лет назад

      vai sun ne me galti kardi.....

    • @shivamjaiswal2434
      @shivamjaiswal2434 6 лет назад

      @@khademali7692 galti kon si hai... Likhne mai ya bolne mai

  • @SBMarketSoldier
    @SBMarketSoldier 4 года назад

    Thank you Sir

  • @AmitSingh-el1rj
    @AmitSingh-el1rj 5 лет назад

    I can't understand r+ create a file if not exist as writeen on your text but you say it doesn't create a file if not exist simply shows NULL ?

  • @sarveshsharma3555
    @sarveshsharma3555 7 лет назад

    if we can read and write file then will exist file?

  • @shrisheekumari2998
    @shrisheekumari2998 4 года назад

    Very nice 👌

  • @RahulSingh-xv6ni
    @RahulSingh-xv6ni 4 года назад

    Sir if you use file datatype, you should be use to sturck keyword before file datatype🙏🙏🙏🙏

    • @RahulSingh-xv6ni
      @RahulSingh-xv6ni 4 года назад

      Sir please answer me 🙏🙏

    • @starkendeavours7072
      @starkendeavours7072 4 года назад

      No, this is a predefined and pre-declared data type in stdio.h using structures. No need to use structure again.

  • @Amitkumar-ye1dw
    @Amitkumar-ye1dw 6 лет назад +3

    r+ me sir agar file pehle se present ni h to null return krrga sir

    • @ritikkaushik2469
      @ritikkaushik2469 6 лет назад

      Yes it will return NULL

    • @Coding_Student144
      @Coding_Student144 4 года назад

      Sir bs paise kamana jaante hai content aacha nhe daalna jaaante

    • @mranonymous7766
      @mranonymous7766 4 года назад +2

      @@Coding_Student144 Please bhai aapko pasand nahi aaya to negative comments mat kijiye🙏🙏🙏🙏🙏

  • @shahdivya8775
    @shahdivya8775 7 лет назад +1

    Sir ye videos command line argument se batao na...

  • @sourabhkori9627
    @sourabhkori9627 5 лет назад

    r+ mode me Kya file create Ni hogi but aapne table me likha h ki create hoga...
    Please reply me ASAP

    • @sourabhkori9627
      @sourabhkori9627 5 лет назад

      Table me r+ mode me likha h, create file if not exist..

  • @D_K_Comp
    @D_K_Comp 7 лет назад +1

    Sir i request you please upload operating system classes

  • @dreamscomes893
    @dreamscomes893 5 лет назад

    Sir pointer ka size tho aapne 2byte bataya pichle video me kiya bo 16bit processor ke liye tha kiya

  • @vijendra1150
    @vijendra1150 4 года назад

    Thanks sir

  • @amaansiddiqui734
    @amaansiddiqui734 4 года назад +1

    ❤️❤️❤️

  • @ankitkumaryadav562
    @ankitkumaryadav562 5 лет назад

    You r best

  • @piyushtripathi5566
    @piyushtripathi5566 4 года назад

    Sir FILE data type capital letter me kyu likha jata h

  • @shivam.334
    @shivam.334 5 лет назад

    सर c language par rule hai ki structure se banane vale deta type ke sat struct likha jata hai to file ke pahle struct keo nahi likha hai

    • @manaspathak4919
      @manaspathak4919 5 лет назад

      typdef use krke struct keyword avoid kra h

  • @motivatedindia-thelion2816
    @motivatedindia-thelion2816 4 года назад

    Why are you wrote int main () sirG?

  • @TipsAndTricks
    @TipsAndTricks 8 лет назад

    Sir, command promot mei kon sa language use hota hai.

    • @bitte929
      @bitte929 6 лет назад

      QBasic i guess

  • @pitaji_badewale
    @pitaji_badewale 4 года назад +3

    What's that sound Sirg... 11:59 😂😂😂
    ... First put your headphones to listen.

  • @avinash5651
    @avinash5651 5 лет назад +1

    ager galti se w+ likh diya then kya mera purana content waps aa sakta hai?

    • @pkyadav6230
      @pkyadav6230 3 года назад

      Phir shuru se likhna padega..

  • @kartikmishra6795
    @kartikmishra6795 3 года назад

    🙏🙏🙏🙏🙏

  • @Mukesh-hv3to
    @Mukesh-hv3to 3 года назад +1

    but sir in r+ there is description about creating a new file if it doesn't exist

  • @gamemakerhindi3744
    @gamemakerhindi3744 6 лет назад

    Kya hum c language me koi aisa software bana sakte hai jo video design kare

  • @KamleshSharma-cf5oz
    @KamleshSharma-cf5oz 5 лет назад

    Can u provide link to get this software for programming in c or c++ ?? as I want this software..

  • @anandverma4357
    @anandverma4357 3 года назад

    Sir r+ k description me kuch glt ho gya h

  • @omminyrajan421
    @omminyrajan421 4 года назад

    Good

  • @besttimeofthisplanet4234
    @besttimeofthisplanet4234 6 лет назад

    Thanks

  • @VinodPatel-tn1hf
    @VinodPatel-tn1hf 7 лет назад

    what os should i use for programming ?

  • @karthikk9422
    @karthikk9422 8 лет назад

    Tq sir

  • @sarveshsharma3555
    @sarveshsharma3555 7 лет назад

    but what to do ,that data not erase

  • @amansharma-ww7tv
    @amansharma-ww7tv 6 лет назад

    sir "*fp" and "fp*" me difference kya h...

  • @bhindekaur2211
    @bhindekaur2211 4 года назад

    😀

  • @sonusharma-sy8kj
    @sonusharma-sy8kj 6 лет назад

    LIC database Kya h sir ji

  • @SalimShaikh-qp7zl
    @SalimShaikh-qp7zl 4 года назад

    Halo sir , l,m don / sir apka parane ki kapacity v.v...g

  • @ramchoudhary4862
    @ramchoudhary4862 7 лет назад

    Compiler konsha h yah

  • @sandeepkumargupta438
    @sandeepkumargupta438 6 лет назад

    Sir r+ mode Ka program sikha dijiye please.

  • @TipsAndTricks
    @TipsAndTricks 8 лет назад

    Yes sir.

  • @D_K_Comp
    @D_K_Comp 7 лет назад

    Hello sir gm

    • @D_K_Comp
      @D_K_Comp 7 лет назад

      Sir you teach really very nice every topic in easy nd simple way

  • @prasuntiwari4291
    @prasuntiwari4291 6 лет назад +1

    You are wrong pointer ka size uske data type pe depend karta hai

    • @mysirgdotcom
      @mysirgdotcom  6 лет назад +2

      No dear, you can check with the help of size of operator, please correct your concept

    • @techsapmadeeasy
      @techsapmadeeasy 5 лет назад +1

      oh comeonn yar how? pointer just contains the address of data..ok? just address. to data type k bde ya chote hone se address par frk ni parega.

    • @shoaibsayyad509
      @shoaibsayyad509 4 года назад +1

      @@mysirgdotcom size of pointer matters when it store the address of which type of variable and if it cannot store the address of same type of variable then typecast is used and size of pointer does not matters in case of storing address because address is only simply sequence number of the type integer am I correct sir!

  • @sandeepkumargupta438
    @sandeepkumargupta438 6 лет назад

    Thanks a lot sir

  • @pawandev1876
    @pawandev1876 3 года назад

    ❤️❤️