Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Policy Tools to Control Money Supply
Monetary policy comprises strategic actions taken by a country's central bank to control money supply and achieve economic stability. These policies target various financial instruments including cash, credit, bonds, loans, and interest rates to manage economic growth, inflation, and deflation. Key Policy Tools to Control Money Supply Central banks employ three primary monetary policy tools to regulate money supply and influence economic activity: Reserve Requirements Banks must maintain minimum reserves of cash either in their vaults or at the central bank. Lower reserve requirements are expansionary − banks can lend more money, increasing money supply. Higher ...
Read MoreC program to remove the brackets from a given input.
In C programming, removing brackets from mathematical expressions is a common string manipulation task. This involves processing the expression to eliminate parentheses while maintaining the correct mathematical meaning, especially handling sign changes when brackets are preceded by a minus sign. Syntax char* removeBrackets(char expression[]); Algorithm The algorithm to remove brackets follows these steps − Step 1: Read the input expression string Step 2: Traverse each character in the string Step 3: Copy non-bracket characters to result string Step 4: When encountering '(' preceded by '-', flip signs inside brackets Step 5: Skip ...
Read MoreWidth and Height of Elements in CSS
To specify the height and width of an element, use the CSS height and width properties, respectively. We can also set the maximum and minimum values for these properties using the max-height, max-width, min-height, and min-width properties. Syntax selector { height: value; width: value; } Possible Values Here are the values of the height and width properties − Value Description auto The dimension is calculated by the web browser length The dimension is defined in length units (px, em, ...
Read MoreC program to search an array element using Pointers.
In this tutorial, we'll learn how to search for an element in an array using pointers in C. This approach demonstrates the power of pointer arithmetic and dynamic memory management for array operations. Syntax int search(int *array, int size, int element); // Returns: index if found, -1 if not found Algorithm Here's the step-by-step algorithm to search elements in an array using pointers − Step 1 − Declare and read the array size Step 2 − Input array elements Step 3 − Declare a pointer to traverse the array Step 4 − ...
Read MoreAdvantages and Risks Associated with Preference Shares
Preference shares, also known as preferred stock, are hybrid securities that combine characteristics of both equity shares and debt instruments. They represent ownership in a company like equity shares but offer fixed dividends similar to debt securities. These shares provide preferential treatment to investors over common equity shareholders in dividend payments and asset distribution during liquidation. Key Features of Preference Shares Preferential Treatment − Preference shareholders receive dividends before equity shareholders and have priority during liquidation Fixed Dividend Payout − Regular fixed dividends at predetermined intervals, providing assured returns Limited Voting Rights − Generally do not possess ...
Read MoreA Practical Guide to Font Styling using CSS
CSS plays a key role in font styling. The CSS font properties allow us to change the font-family, font-size, font-weight, font-kerning, and a lot more properties. The CSS font property is a shorthand for font-style, font-variant, font-weight, font-size/line-height and font-family. Further, we can apply styles to the text through text-decoration using CSS text-shadow, text-stroke, text-fill-color, color, etc. Syntax /* Individual font properties */ selector { font-family: family-name; font-size: value; font-weight: value; font-style: value; } /* Font shorthand property */ selector ...
Read MoreFind the largest number in a series by using pointers in C language
A pointer is a variable that stores the address of another variable. Instead of holding a value directly, it holds the memory address where the value is stored. Pointers use the dereferencing operator (*) to access the value and the address operator (&) to obtain memory addresses. In this tutorial, we'll learn how to find the largest number in a series using pointers in C programming. Syntax datatype *pointer_name; pointer_name = &variable_name; Where the asterisk (*) declares a pointer and the ampersand (&) gets the address of a variable. Algorithm Here's the ...
Read MorePhysical Distribution in Economics
Physical distribution refers to the movement of products, raw materials, and goods between factories, warehouses, distribution centers, and markets. It encompasses all activities involved in getting finished products from producers to consumers efficiently and cost-effectively. This system includes various channels such as wholesale and eCommerce, incorporating components like inventory management, customer service, order processing, and transportation. Key Components of Physical Distribution Physical distribution systems consist of six essential components that work together to ensure efficient product flow: Inventory Control Effective inventory control balances stock levels to avoid both overstocking and understocking. It involves: Safety Stock Management ...
Read MoreC program to sort an array by using merge sort
Merge sort is a divide-and-conquer algorithm that recursively divides an array into two halves, sorts each half separately, and then merges the sorted halves back together. It guarantees O(n log n) time complexity in all cases. Syntax void MergeSort(int array[], int left, int right); void Merge(int array[], int left, int middle, int right); How Merge Sort Works The merge sort algorithm follows these steps − Divide: Split the array into two halves at the middle point Conquer: Recursively sort both halves Combine: Merge the two sorted halves into a single sorted array ...
Read MoreRemoving Dotted Line around Active Links using CSS
We can remove the default behavior of hyperlinks which is to show a dotted outline around themselves when active or focused by declaring CSS outline property on active/focused links to be none. Syntax a, a:active, a:focus { outline: none; } Example Let's see how to remove dotted line around active links with an example − Remove dotted line around links using css div { ...
Read More