Articles on Trending Technologies

Technical articles with clear explanations and examples

CSS unicode-bidi Property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 115 Views

The CSS unicode-bidi property controls the bidirectional text algorithm, determining how text with mixed left-to-right and right-to-left content should be displayed. This property is essential when working with multilingual content that includes languages like Arabic, Hebrew, or Persian alongside Latin-based languages. Syntax selector { unicode-bidi: value; } Possible Values ValueDescription normalDefault behavior, follows Unicode bidirectional algorithm embedCreates an additional level of embedding bidi-overrideForces text direction override based on direction property isolateIsolates element from surrounding text for bidirectional calculations isolate-overrideCombines isolate and bidi-override behaviors Example: Comparing Different Unicode-bidi ...

Read More

C program to display the prime numbers in between two intervals

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

In C programming, finding prime numbers between two intervals is a common problem that involves checking each number in the range for primality. A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. Syntax for(i = start + 1; i < end; i++) { flag = 0; for(j = 2; j

Read More

Equity Dilution

Praveen Varghese Thomas
Praveen Varghese Thomas
Updated on 15-Mar-2026 447 Views

Equity dilution is a financial concept that occurs when a company issues additional shares, reducing the ownership percentage of existing shareholders. This process increases the total number of outstanding shares, which decreases the value and voting power of each individual share held by current investors. Formula The formula for calculating equity dilution percentage is: $$\mathrm{Dilution\ Percentage = \frac{New\ Shares\ Issued}{Total\ Shares\ After\ Issuance} \times 100}$$ To calculate the new ownership percentage for existing shareholders: $$\mathrm{New\ Ownership\ \% = \frac{Original\ Shares\ Held}{Original\ Shares + New\ Shares\ Issued} \times 100}$$ Variables: New Shares Issued − ...

Read More

Set the width of a tab character with CSS

Ankith Reddy
Ankith Reddy
Updated on 15-Mar-2026 243 Views

Use the tab-size property in CSS to set the width of a tab character. This property determines how many spaces a tab character should take up when displaying text content inside elements or other elements with preserved whitespace. Syntax selector { tab-size: value; } Possible Values Value Description number ...

Read More

Find the sum of first and last digit for a number using C language

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

In C programming, finding the sum of the first and last digit of a number involves extracting these digits using modulus and division operations. The last digit is obtained using modulus 10, while the first digit is found by repeatedly dividing the number by 10. Syntax int lastDigit = number % 10; while(number > 9) { number = number / 10; } int firstDigit = number; int sum = firstDigit + lastDigit; Algorithm The algorithm to find the sum of first and last digit is as follows − ...

Read More

CSS quotes Property

Samual Sam
Samual Sam
Updated on 15-Mar-2026 133 Views

The CSS quotes property is used to set quotation marks for the element or elements that use the quotes property with content. It defines which characters to use for opening and closing quotes. Syntax selector { quotes: open-quote close-quote; } Possible Values ValueDescription noneRemoves quotation marks autoUses browser default quotation marks string stringCustom opening and closing quote characters Example 1: Custom Quote Marks The following example sets single quotes for the element − #demo ...

Read More

Explain the different sections in C language

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

A C program follows a structured format with different sections that serve specific purposes. Understanding these sections helps in writing well-organized and maintainable code. Structure of a C Program The complete C program is divided into different sections, which are as follows − Documentation Section − Contains comments about the program like author name, creation or modification date. Information written between /* */ or after // is called a comment line. These lines are ignored by the compiler during compilation. Preprocessor Directives Section − In this section, header files required to execute the program are ...

Read More

CSS hanging-punctuation Property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 208 Views

The CSS hanging-punctuation property allows punctuation marks to be positioned outside the line box at the beginning or end of text lines. This creates better visual alignment by preventing punctuation from affecting text indentation. Syntax selector { hanging-punctuation: value; } Possible Values ValueDescription noneNo punctuation marks hang outside the line box (default) firstPunctuation at the start of the first line hangs outside lastPunctuation at the end of the last line hangs outside allow-endPunctuation at the end of lines may hang outside force-endPunctuation at the end of lines must hang ...

Read More

Dividends in Arrears

Praveen Varghese Thomas
Praveen Varghese Thomas
Updated on 15-Mar-2026 493 Views

Dividends in arrears occur when a company fails to pay declared dividends to shareholders on the scheduled payment date. This situation typically arises due to financial difficulties, cash flow problems, or strategic decisions by the company's board of directors to redirect profits toward business operations instead of shareholder distributions. Formula The calculation of dividends in arrears is straightforward: $$\mathrm{Dividends\ in\ Arrears = Dividend\ per\ Share \times Number\ of\ Shares \times Number\ of\ Missed\ Periods}$$ Where: Dividend per Share − The declared dividend amount per individual share Number of Shares − Total outstanding shares affected by ...

Read More

C program to display only the lower triangle elements in a 3x3 2D array

Bhanu Priya
Bhanu Priya
Updated on 15-Mar-2026 490 Views

In a 3x3 matrix, the lower triangle consists of elements where the row index is greater than or equal to the column index (i >= j). This includes the main diagonal and all elements below it. Syntax for(i = 0; i < n; i++) { for(j = 0; j < n; j++) { if(i >= j) // Print element at array[i][j] else ...

Read More
Showing 20791–20800 of 61,297 articles
Advertisements