Lecture 26 File Opening Modes in C Language Hindi

Поділитися
Вставка
  • Опубліковано 9 лис 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. 🙏🏻🙏🏻

  • @ganeshgauttam
    @ganeshgauttam 4 роки тому +3

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

  • @sankalpdixit9510
    @sankalpdixit9510 5 років тому +2

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

  • @sachinm5900
    @sachinm5900 3 роки тому

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

  • @ranjanlamichhane809
    @ranjanlamichhane809 5 років тому +2

    Wow.I like your video so much😊😊

  • @ashishvarsani8761
    @ashishvarsani8761 3 роки тому +1

    This video is also useful in 2021

  • @deepakrs_007
    @deepakrs_007 3 роки тому

    Best video. 👍

  • @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

  • @rajnish1002
    @rajnish1002 3 роки тому

    good going on

  • @HimanshuOmar-r3e
    @HimanshuOmar-r3e Рік тому

    You are gem sir

  • @mohammadtaqi4051
    @mohammadtaqi4051 6 років тому +1

    Superb explanations......

  • @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

  • @jutt_da_shugal2705
    @jutt_da_shugal2705 7 років тому +1

    Its awesome....

  • @aryananshuman3263
    @aryananshuman3263 4 роки тому

    Amazing amazing amazing... 💥💥💥

  • @anuragupadhyay319
    @anuragupadhyay319 4 роки тому

    Very easily explained sir 🙇

  • @karanmaurya2216
    @karanmaurya2216 Рік тому

    Thanks sir ji 🙏

  • @mobeennekakhtar710
    @mobeennekakhtar710 7 років тому +2

    best explanation !

  • @ashuranjanchoubey2984
    @ashuranjanchoubey2984 8 років тому +4

    Hello sir
    Multithreading of c++ ka video share kigiye

  • @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?

  • @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

  • @ankitfernandez370
    @ankitfernandez370 3 роки тому

    🔥🔥🔥🔥🔥🔥

  • @yashgoswami5374
    @yashgoswami5374 7 років тому +8

    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,!!!!!

  • @navtej29
    @navtej29 2 роки тому

    Thanks sir g

  • @pankajbudhlakoti1981
    @pankajbudhlakoti1981 5 років тому

    You are great sir

  • @shrisheekumari2998
    @shrisheekumari2998 4 роки тому

    Very nice 👌

  • @prasuntiwari4291
    @prasuntiwari4291 6 років тому +3

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

  • @SBMarketSoldier
    @SBMarketSoldier 4 роки тому

    Thank you Sir

  • @amaansiddiqui734
    @amaansiddiqui734 4 роки тому +1

    ❤️❤️❤️

  • @vijendra1150
    @vijendra1150 4 роки тому

    Thanks sir

  • @techsapmadeeasy
    @techsapmadeeasy 6 років тому +3

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

  • @ankitkumaryadav562
    @ankitkumaryadav562 5 років тому

    You r best

  • @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 ???

  • @kartikmishra6795
    @kartikmishra6795 3 роки тому

    🙏🙏🙏🙏🙏

  • @jutt_da_shugal2705
    @jutt_da_shugal2705 7 років тому

    Sir u r great .....

  • @jutt_da_shugal2705
    @jutt_da_shugal2705 7 років тому

    gud lectures 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* 🧑🏻‍💻

  • @shahdivya8775
    @shahdivya8775 7 років тому +1

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

  • @dhananjaypatil3559
    @dhananjaypatil3559 8 років тому

    you r great sir!!!

  • @sandeepkumargupta438
    @sandeepkumargupta438 6 років тому

    Thanks a lot sir

  • @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

  • @omminyrajan421
    @omminyrajan421 4 роки тому

    Good

  • @D_K_Comp
    @D_K_Comp 7 років тому +1

    Sir i request you please upload operating system classes

  • @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

  • @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

  • @besttimeofthisplanet4234
    @besttimeofthisplanet4234 6 років тому

    Thanks

  • @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 ?

  • @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.

  • @bhindekaur2211
    @bhindekaur2211 4 роки тому

    😀

  • @sarveshsharma3555
    @sarveshsharma3555 7 років тому

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

  • @yashsrivastav4296
    @yashsrivastav4296 3 роки тому

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

  • @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.

  • @jugalkhajuriya9933
    @jugalkhajuriya9933 9 років тому +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 😂😂

  • @motivatedindia-thelion2816
    @motivatedindia-thelion2816 4 роки тому

    Why are you wrote int main () sirG?

  • @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

  • @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 5 років тому

      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🙏🙏🙏🙏🙏

  • @dreamscomes893
    @dreamscomes893 5 років тому

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

  • @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

  • @karthikk9422
    @karthikk9422 8 років тому

    Tq sir

  • @TipsAndTricks
    @TipsAndTricks 9 років тому

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

    • @bitte929
      @bitte929 6 років тому

      QBasic i guess

  • @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

  • @TipsAndTricks
    @TipsAndTricks 9 років тому

    Yes sir.

  • @pitaji_badewale
    @pitaji_badewale 4 роки тому +3

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

  • @piyushtripathi5566
    @piyushtripathi5566 4 роки тому

    Sir FILE data type capital letter me kyu likha jata h

  • @sonusharma-sy8kj
    @sonusharma-sy8kj 6 років тому

    LIC database Kya h sir ji

  • @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..

  • @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..

  • @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

  • @AmitSingh-el1rj
    @AmitSingh-el1rj 6 років тому

    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 ?

  • @ramchoudhary4862
    @ramchoudhary4862 7 років тому

    Compiler konsha h yah

  • @KamleshSharma-cf5oz
    @KamleshSharma-cf5oz 5 років тому

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

  • @gamemakerhindi3744
    @gamemakerhindi3744 7 років тому

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

  • @SalimShaikh-qp7zl
    @SalimShaikh-qp7zl 4 роки тому

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

  • @sandeepkumargupta438
    @sandeepkumargupta438 6 років тому

    Sir r+ mode Ka program sikha dijiye please.

  • @anandverma4357
    @anandverma4357 3 роки тому

    Sir r+ k description me kuch glt ho gya h

  • @sarveshsharma3555
    @sarveshsharma3555 7 років тому

    but what to do ,that data not erase

  • @amansharma-ww7tv
    @amansharma-ww7tv 6 років тому

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

  • @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

  • @Mukesh-hv3to
    @Mukesh-hv3to 3 роки тому +1

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

  • @VinodPatel-tn1hf
    @VinodPatel-tn1hf 7 років тому

    what os should i use for programming ?

  • @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 6 років тому +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!

  • @pawandev1876
    @pawandev1876 3 роки тому

    ❤️❤️

  • @vaibhavjoshi6853
    @vaibhavjoshi6853 5 років тому

    Thanks a lot Sir