Skip to main content

C language tutorial by W3schools

 What is variable?

  • A name given to a memory location 
  • Declared by writing type variable_name;
  • initialized and declared by type variable_name=value;
Data type in C language 
Basic data type=int, char, double, float
Derived data type=array, pointer, structure, union
Enumeration dara type=emum
Void data type=void
1 byte=8 bits

4GB RAM= 4*1024*MB=4*1024*1024    KB=4*1024*1024 *1024byte=(4*1024*1024 *1024)*4bits


Comments

Popular posts from this blog

CSS by research

how to center elements inside container using text-align:center in css The `text-align: center;` property in CSS is primarily used to horizontally center inline or inline-block elements within their parent container. If you want to center block-level elements, you'd typically use other methods like margin auto, flexbox, or grid. Here's how you can use `text-align: center;` to horizontally center inline or inline-block elements: ### Example with `text-align: center;`: ```html <div class="container">     <p class="centered-element">This is a centered element.</p> </div> ``` ```css .container {     text-align: center; } .centered-element {     display: inline-block;     /* Other styling if needed */ } ``` In this example, the `text-align: center;` is applied to the `.container`, and the `.centered-element` is set to `display: inline-block;`. This makes the paragraph centered within its parent container. Keep in mind that `text...

Networking tutorials by bitten tech

 Networking computer network= A collection of computing devices that are connected in various ways in order to communicate and share resources. Usually, the connections between computers in a network are made using physical wires or cables. However, some connections are wireless, using radio waves or infrared signals.  The generic term node or host refers to any device on a network. Date transfer rate= is the speed with which data is moved from one place on a network to another.  Data transfer rate is a key issue in computer networks.  File server= A computer that stores and manages files for multiple users on a network.  Web server= A computer dedicated to responding to requests(from the browser client) for web pages. Types of Networks(LAN) A network that connects a relatively small number of machines in a relatively close geographical area.     Various configurations, called topologies, have been used to administer LANs Ring topology= A configur...

JS research

simplify it let gameOver= false; when should i use this in simple terms  In simple terms, `let gameOver = false;` is like telling your program that the game is not over yet. You use this when you want to keep track of whether the game is still being played or if it has finished.  For example, imagine you're writing code for a video game. At the start, you'd set `gameOver` to `false` because, well, the game hasn't ended yet. As the game progresses, if certain conditions are met (like a player winning or losing), you might change `gameOver` to `true` to signal that the game is finished. So, `let gameOver = false;` is a way to let your program know the initial state of the game, and you'll change it later on when the game comes to an end. make me understand this js code in simple terms let boxText = ['Apple', 'Banana', 'Cherry', 'Date', 'Fig']; let e = [2, 4]; let boxText = ['Apple', 'Banana', 'Cherry', '...