Posts

Showing posts from 2025

5.1 Cloud Computing

Image
Cloud Computing: - Cloud computing is a technology that allows us to store data, use software, and process information through the internet instead of depending only on our own computers. Cloud: A group of remote servers that provide computing services. Server: A computer that provides data or services to other computers. Data Storage: Saving information for future use. Internet: A worldwide network connecting computers and devices. Cloud Provider: A company that provides cloud services, such as Amazon Web Services, Microsoft Azure, or Google Cloud. Examples: Google Drive, Gmail, Google Photos, Microsoft OneDrive, Netflix Example: We upload a photo from our mobile phone to Google Drive. The photo is stored on Google's servers. Later, we can open the same photo on our computer using the internet.   Main Features of Cloud Computing Online Storage: Store files on the internet. Access Anywhere: Access your files from different locations. Cost Saving: Reduce...

4.4 File Management in C

Image
Introduction to File Operations in C In C programming, files are used to store data permanently on the disk. Unlike variables, data in files is not lost when the program ends. File operations allow reading, writing, and modifying data stored in files.             Common file operations: Creating a file Opening a file Reading from a file Writing to a file Closing a file 1) Creating a File: - In C, a file is created using the fopen( ) function. The fopen( ) function requires two arguments: the file name and the mode . To create a new file, we usually use the mode " w " (write) or " a " (append). If the file does not exist, " w " will create it. If it exists, " w " will overwrite it.                Example: -                Output: -  2) Opening a File: - To access a file, you must first open it using fopen( ) . Differ...