Posts

5 Cloud Computing

  v   Cloud Computing: - Ø   Cloud computing is a technology that allows us to access and use computing resources, like servers, storage, databases, networking, software, and analytics over the Internet (the “cloud”) instead of relying on local computer or on-premises servers. Ø   Essentially, it provides on-demand access to computing power and services without the need to own and maintain physical infrastructure.   Key Features of Cloud Computing: - 1.      On-demand self-service – Users can provision computing resources as needed without human intervention from the service provider.   2.      Broad network access – Services are available over the Internet and can be accessed from devices like laptops, smartphones, or tablets.   3.      Resource pooling – Providers serve multiple customers using shared resources while keeping data isolated.   4.   ...

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