Program 128 #P128 C program File handling : FSEEK() FUNCTION How to use fseek( ) function #C257
Getting data using fseek()
If you have many records inside a file and need to access a record at a specific position, you need to loop through all the records before it to get the record.
This will waste a lot of memory and operation time. An easier way to get to the required data can be achieved using fseek().
As the name suggests, fseek() seeks the cursor to the given record in the file.
________________________________________
Parameters
• stream − This is the pointer to a FILE object that identifies the stream.
• offset − This is the number of bytes to offset from whence.
• whence − This is the position from where offset is added. It is specified by one of the following constants −
Whence Meaning
SEEK_SET Starts the offset from the beginning of the file.
SEEK_END Starts the offset from the end of the file.
SEEK_CUR Starts the offset from the current location of the cursor in 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
********************************************************************