Articles on Trending Technologies

Technical articles with clear explanations and examples

C Program to delete the duplicate elements in an array

Bhanu Priya
Bhanu Priya
Updated on 15-Mar-2026 55K+ Views

In C programming, removing duplicate elements from an array means creating a new array that contains only unique elements. This is a common array manipulation task that helps eliminate redundancy in data. Syntax for(i = 0; i < size; i++) { for(j = i + 1; j < size; j++) { if(arr[i] == arr[j]) { // Shift elements left to remove duplicate ...

Read More

Change column-rule-width property with CSS Animations

George John
George John
Updated on 15-Mar-2026 238 Views

The CSS column-rule-width property defines the width of the vertical rule between columns in a multi-column layout. You can animate this property to create dynamic visual effects that change the column separator thickness over time. Syntax selector { column-rule-width: value; animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { from { column-rule-width: initial-value; } to { column-rule-width: final-value; } } Example: Animating Column Rule Width The following example demonstrates how to animate the column-rule-width property from 10px ...

Read More

Quarter on Quarter (QoQ)

Pratik Kumbhare
Pratik Kumbhare
Updated on 15-Mar-2026 1K+ Views

Quarter on Quarter (QoQ) is a financial analysis method that compares data or metrics between two consecutive quarters to evaluate short-term performance trends. This sequential comparison helps businesses track momentum, identify patterns, and make informed decisions based on recent performance changes. Formula The Quarter on Quarter growth rate is calculated using the following formula: $$\mathrm{QoQ\ Growth\ Rate\ (\%) = \frac{Current\ Quarter\ Value - Previous\ Quarter\ Value}{Previous\ Quarter\ Value} \times 100}$$ Where: Current Quarter Value − The metric value for the most recent quarter Previous Quarter Value − The metric value ...

Read More

C Program to count trailing and leading zeros in a binary number

Bhanu Priya
Bhanu Priya
Updated on 15-Mar-2026 3K+ Views

In C programming, counting trailing and leading zeros in a binary representation of a number is a common bit manipulation task. Trailing zeros are the consecutive zeros from the least significant bit (LSB) until the first set bit, while leading zeros are the consecutive zeros from the most significant bit (MSB) until the first set bit. Syntax /* For trailing zeros */ int countTrailingZeros(int number); /* For leading zeros */ int countLeadingZeros(int number); Trailing Zeros Trailing zeros are the zeros that appear after the rightmost set bit (1) when counting from ...

Read More

Animate CSS column-rule property

mkotla
mkotla
Updated on 15-Mar-2026 301 Views

The CSS column-rule property defines the line that appears between columns in a multi-column layout. You can animate this property to create dynamic visual effects by changing the rule's width, style, and color during the animation. Syntax selector { column-rule: width style color; animation: animation-name duration timing-function iteration-count; } Example: Animating Column Rule The following example demonstrates how to animate the column-rule property, changing its width and color − .container { ...

Read More

C program to rotate the bits for a given number

Bhanu Priya
Bhanu Priya
Updated on 15-Mar-2026 3K+ Views

Bit rotation is a fundamental bitwise operation where bits in a number are shifted circularly. In left rotation, bits move left and the leftmost bit wraps to the rightmost position. In right rotation, bits move right and the rightmost bit wraps to the leftmost position. Syntax // Left rotation int leftRotate(int num, int rotations); // Right rotation int rightRotate(int num, int rotations); Key Concepts Left rotation: Bits are shifted left, MSB wraps to LSB position Right rotation: Bits are shifted right, LSB wraps to MSB position Circular shift: No bits ...

Read More

Set the flex items horizontally with CSS

varma
varma
Updated on 15-Mar-2026 474 Views

Use the flex-direction property with row value to set the flex items horizontally. This is the default behavior for flexbox containers, but explicitly setting it ensures your layout behaves as expected. Syntax selector { display: flex; flex-direction: row; } Possible Values ValueDescription rowItems are placed horizontally from left to right (default) row-reverseItems are placed horizontally from right to left columnItems are placed vertically from top to bottom column-reverseItems are placed vertically from bottom to top Example You can try to run the ...

Read More

Proprietary Trading

Pratik Kumbhare
Pratik Kumbhare
Updated on 15-Mar-2026 234 Views

Proprietary trading refers to the practice where financial institutions such as banks, hedge funds, and investment firms use their own capital to trade financial instruments for direct profit rather than earning commissions from client transactions. This form of trading allows institutions to diversify revenue streams and potentially generate significant returns by capitalizing on market opportunities and inefficiencies. Types of Proprietary Trading Market Making − Simultaneously quoting bid and ask prices for securities to provide market liquidity. Market makers profit from the bid-ask spread while facilitating smooth trading for other participants. Event-Driven Trading − Taking positions based on ...

Read More

Set top-left corner border with CSS

varun
varun
Updated on 15-Mar-2026 302 Views

The CSS border-top-left-radius property is used to set a rounded border specifically for the top-left corner of an element. This property allows you to create asymmetric rounded corners where only the top-left corner has a different radius than other corners. Syntax selector { border-top-left-radius: value; } Possible Values ValueDescription lengthDefines the radius in px, em, rem, etc. %Defines the radius as a percentage of the element's dimensions initialSets the property to its default value inheritInherits the value from the parent element Example The following example demonstrates ...

Read More

C Program to check whether the triangle is equilateral, isosceles or scalene

Bhanu Priya
Bhanu Priya
Updated on 15-Mar-2026 65K+ Views

A triangle consists of three sides and three angles. Based on the relationship between the three sides, triangles can be classified into three types − Equilateral triangle: All three sides are equal. Isosceles triangle: Any two sides are equal. Scalene triangle: No sides are equal. Syntax if (side1 == side2 && side2 == side3) { // Equilateral triangle } else if (side1 == side2 || side2 == side3 || side1 == side3) { // Isosceles triangle } else { // Scalene triangle ...

Read More
Showing 20721–20730 of 61,297 articles
Advertisements