Program 126 #P126 C program File handling : Write to a binary file using fwrite Working Code #C255

Subscribers:
10,700
Published on ● Video Link: https://www.youtube.com/watch?v=eVcN92Yz1_4



Duration: 2:47
118 views
12


In this program, you create a new file program.bin in the C drive.

We declare a structure threeNum with three numbers - n1, n2 and n3, and define it in the main function as num.

Now, inside the for loop, we store the value into the file using fwrite().

The first parameter takes the address of num and the second parameter takes the size of the structure threeNum.

Since, we're only inserting one instance of num, the third parameter is 1. And, the last parameter *fptr points to the file we're storing the data.

Finally, we close the file.
|| Like-Comment-Subscribe-Share ||
||Support and Subscribe ||
#rubalsolutions #coding #developer #programming #programmer #technology #clanguage #computerscience #c #informaticpractices #sub #subscribe #youtube #newyoutuber #youtubechannel

To Install Turbo C++ 4.5 Click on Below Link and Download rar file and extract and then install..
address updated by app.box.com on 8 april
https://app.box.com/s/soz2137zo0rv0sb08pf4upzgj01umfjr

Do Like,Comment,Share and Subscribe if u are learning little bit.
Please give me suggestions in form of comment box .

Link To My Blog - https://www.blogger.com/blogger.g?blo...
Like me on Facebook @ https://www.facebook.com/rubalsolutions/
Follow me on Twitter @ https://twitter.com/ruby0071
Follow me on Instagram @https://www.instagram.com/er.rubal/
Email me at :- ruby0071@gmail.com
Youtube Gears / devices & equipements
1. DSLR Camera : https://amzn.to/2ZIIEvL
2. Microphone : https://amzn.to/2DGHwiR
3 Regular Camera: https://amzn.to/2Lgkgyp
4 Mic https://amzn.to/2ZJxkPP
5 Microphone https://amzn.to/2LeKvFc
Recording Microphone Mic & Tripod Stand for Laptop
https://amzn.to/2WCV5a8
Mini Professional Handheld Microphone Compatible with Xiaomi, Lenovo, Apple, Samsung, Sony, Oppo, Gionee, Vivo Smartphones (One Year Warranty)
https://amzn.to/2HRp1fj
********************************************************************
Our Video's Categorized In Different Playlist
*******************************************************************
Playlist for C Programming
https://www.youtube.com/watch?v=3l7QFOHaiUs&list=PLtUZeWk8rCCbRvRKsaBoz_5-SPIILeXJ3
*******************************************************************
Playlist for नवरात्रि की 9 कहानी
https://www.youtube.com/watch?v=vsyKFhu5VDg&list=PLtUZeWk8rCCbtaNBMvtz_WV3_4o3EM6MX
*********************************************************************
Playlist for Class 6th || CBSE || computer science || Course Book ||
https://www.youtube.com/watch?v=I6AaJc5Aolw&list=PLtUZeWk8rCCbwnOz5SNWgyNeestDtIyYU
********************************************************************
Playlist for FULL FORMS (Commonly Used Full FORMS )
https://www.youtube.com/watch?v=zn_0-TKAeHw&list=PLtUZeWk8rCCZTG37ebv8LSCRif35YFf6p
*******************************************************************
Playlist for Class 5th || CBSE || computer science || Course Book ||
https://www.youtube.com/watch?v=xdQeHaQv8-Q&list=PLtUZeWk8rCCZwrrJ9tvWULXmk-BnRVt-g
*******************************************************************
Playlist for Class 4th || CBSE || computer science || Course Book ||
https://www.youtube.com/watch?v=MUILA7lkql8&list=PLtUZeWk8rCCaqnVK_PLkPF3wyRGKHY9Op
*******************************************************************
Playlist for Class 3rd || CBSE || computer science || Course Book ||
https://www.youtube.com/watch?v=iVGs0Z3NkI4&list=PLtUZeWk8rCCYT-RWMkXrgfrs-xBVi7qWi
******************************************************************
Playlist for Class 2d || CBSE || computer science || Course Book ||
https://www.youtube.com/watch?v=NRNyqFYes0M&list=PLtUZeWk8rCCbCGbMyc03ICrv3yrEZrcJZ
********************************************************************




Other Videos By Rubal Solutions


2019-05-30Program135 #P135 C PROGRAM ALPHABET C c program for pattern of ALPHABET C #C264
2019-05-29Program134 #P134 C PROGRAM ALPHABET B c program for pattern of ALPHABET B Print B with Astrik#C263
2019-05-28Program 133 #P133 C PROGRAM ALPHABET A c program for pattern of ALPHABET A Print A with Astrik#C262
2019-05-26Program 132 #P132 C program for appending in file to read name and marks previously exits . #C261
2019-05-26Program 131 #P131 Write a C program to read name and marks of n number of students #C260
2019-05-26सकारात्मक सोच की शक्ति - A Positive Useful Story - Motivational Story - कहानी
2019-05-24Program 130 #P130 File handling C Program to Read a Line From a File and Display it #C259
2019-05-24Program 129 #P129 File handling C Program to Write a Sentence to a File function #C258
2019-05-24Program 128 #P128 C program File handling : FSEEK() FUNCTION How to use fseek( ) function #C257
2019-05-23Program 127 #P127 C program File handling : Read from a binary file using fread() Working Code #C256
2019-05-23Program 126 #P126 C program File handling : Write to a binary file using fwrite Working Code #C255
2019-05-22Program 125 #P125 C program File handling : Read from a text file using fscanf() Working Code #C254
2019-05-21Program 124 #P124 C program File handling : Write to a text file using fprintf() Working Code #C253
2019-05-20Theory - C Programming File Handling || Learning C Programming || #C252 CONCEPTS FOR FILE Structure
2019-05-16Program 123 #P123 C program for demonstrate dynamic memory allocation in structures #C251
2019-05-16Program 122 #P122 C program for passing structure by reference #C250
2019-05-16Program 121 #P121 C program for passing structure to a function #C249
2019-05-16Rubal Solutions Welcomes You All... Spread Education Spread Love Share and Subscribe
2019-05-13Program 120 #P120 C program to demonstrate getdate() method #C248
2019-05-13Dino Run No Internet Game . There is no Internet connection - Chrome game
2019-05-13Program 119 #P119 C Program To Explain Simple Structure Pointer #C247



Tags:
c course
c programming language
c programming language tutorial
c programming language tutorial for beginners
c (programming language)
programming language (software genre)
computer education
computer education in hindi
basic computer training
rubalsolutions
coding
developer
newyoutuber
subscribe
sub
subscribeandsupport
c language
files
write
writing
fprintf
closing
fopen
fclose
file handling
file pointer
filels in c
file handling in c
files in c
fwrite