Articles on Trending Technologies

Technical articles with clear explanations and examples

Nature and Classes of Shares

Bitopi Kaashyap
Bitopi Kaashyap
Updated on 15-Mar-2026 234 Views

Shares are units of ownership that divide a company's total capital among investors. They represent legal claims to a company's assets and earnings, giving shareholders both rights and responsibilities. Understanding the different types of shares is crucial for investors to make informed decisions about their investments. Types of Shares According to the Companies Act 2013, there are primarily two types of shares that a company can issue: Preference Shares − shares with preferential rights in dividend payment and liquidation Equity Shares − shares representing ownership with voting rights but no preferential treatment Preference Shares ...

Read More

C program to count characters, lines and number of words in a file

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

In C programming, counting characters, words, and lines in a file is a common file processing task. This operation reads through a file character by character and keeps track of different elements based on specific delimiters. Syntax FILE *fopen(const char *filename, const char *mode); int fgetc(FILE *stream); int fclose(FILE *stream); File Operations Overview The three basic operations that we can perform on files are − Open a file − Using fopen() function Process file − Read, write, or modify file contents Save and close file − Using fclose() function Example: ...

Read More

Text Transformation Working with CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 214 Views

The CSS text-transform property allows us to control the capitalization and casing of text content. It can transform text to uppercase, lowercase, capitalize words, or leave it unchanged. Syntax selector { text-transform: value; } Possible Values ValueDescription uppercaseTransforms all text to uppercase letters lowercaseTransforms all text to lowercase letters capitalizeCapitalizes the first letter of each word noneNo transformation (default value) Example 1: Basic Text Transformations The following example demonstrates uppercase, lowercase, and capitalize transformations − h2 ...

Read More

Modes of Reconstitution of A Partnership Firm

Bitopi Kaashyap
Bitopi Kaashyap
Updated on 15-Mar-2026 291 Views

Partnership firms are dynamic business entities where changes in structure are common. The reconstitution of a partnership firm refers to any alteration in the existing partnership arrangement that requires modification of the partnership deed. This may involve changes in profit-sharing ratios, admission of new partners, retirement of existing partners, or other structural modifications. .title { font-family: Arial, sans-serif; font-size: 16px; font-weight: bold; text-anchor: middle; } .box { font-family: Arial, sans-serif; font-size: 12px; text-anchor: middle; } ...

Read More

C program to remove a line from the file

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

In C, removing a line from a file requires creating a temporary file because files cannot be modified directly in place. The process involves reading the original file line by line, copying all lines except the target line to a temporary file, then replacing the original file. Syntax FILE *fopen(const char *filename, const char *mode); char *fgets(char *str, int n, FILE *stream); int fputs(const char *str, FILE *stream); int remove(const char *filename); int rename(const char *oldname, const char *newname); Algorithm The algorithm to remove a line from a file follows these steps − ...

Read More

Set Text Alignment Working with CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 720 Views

The CSS text-align property is used to horizontally align text content within an element. It controls the alignment of text and inline elements inside block-level containers. Syntax selector { text-align: value; } Possible Values ValueDescription leftAligns text to the left (default for most languages) rightAligns text to the right centerCenters the text justifyStretches text to align both left and right edges Example 1: Basic Text Alignment The following example demonstrates different text alignment options − .container ...

Read More

C program to store even, odd and prime numbers into separate files

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

In C, we can read numbers from a file and categorize them into even, odd, and prime numbers, storing each category in separate files. This involves file I/O operations and number classification algorithms. Syntax FILE *fopen(const char *filename, const char *mode); int fscanf(FILE *stream, const char *format, ...); int fprintf(FILE *stream, const char *format, ...); int fclose(FILE *stream); Note: This program requires creating an input file named "numbers.txt" with integers to process. Since file operations cannot be executed in the online compiler, the code structure is shown for educational purposes. Example ...

Read More

Styling Links Working with CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 274 Views

CSS allows us to style links as desired. We can format text by adding colors, backgrounds, changing sizes, and even adding animations to create pleasant visual effects. Links can be styled using various pseudo-classes to define their appearance in different states. Syntax a { property: value; } a:link { /* unvisited link */ } a:visited { /* visited link */ } a:hover { /* mouse over link */ } a:active { /* selected link */ } Pseudo-Class Order For proper functionality, the order of pseudo selectors must be: :link, ...

Read More

Methods of Valuation of Goodwill

Bitopi Kaashyap
Bitopi Kaashyap
Updated on 15-Mar-2026 467 Views

Goodwill represents the intangible value of a business beyond its tangible assets, reflecting the company's reputation, brand recognition, customer loyalty, and competitive advantages. It is an asset that cannot be physically touched but holds significant economic value for established businesses. Goodwill valuation is crucial during business acquisitions, mergers, or partnership changes. Key Concepts in Goodwill Valuation Goodwill is an intangible asset that represents the excess value of a business over its identifiable net assets. It encompasses factors such as brand reputation, customer relationships, employee expertise, proprietary technology, and market position. Companies with goodwill typically earn super-profits − profits ...

Read More

C program to print name inside heart pattern using for loop.

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

In C programming, creating a heart pattern with a name in the center is an interesting application of nested for loops. This program generates a heart shape using asterisks (*) and displays a user-entered name in the middle of the pattern. Syntax // Basic heart pattern structure for(i = start; i = end; i--) { // Lower triangular part } Algorithm Follow these steps to create a heart pattern with name − Step 1: Declare variables for loop counters, name array, and pattern size Step 2: Read the ...

Read More
Showing 20351–20360 of 61,297 articles
Advertisements