Articles on Trending Technologies

Technical articles with clear explanations and examples

Animate CSS column-gap property

radhakrishna
radhakrishna
Updated on 15-Mar-2026 635 Views

The CSS column-gap property is used to set the gap between columns in a multi-column layout. When combined with CSS animations, you can create smooth transitions that adjust the spacing between columns over time. Syntax selector { column-gap: value; animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { percentage { column-gap: new-value; } } Example The following example demonstrates how to animate the column-gap property to create a dynamic ...

Read More

Program Budget

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

A program budget is a financial plan that specifies how funds will be allocated to specific programs or projects within an organization. It involves identifying required resources, estimating costs, and allocating money to achieve program objectives while ensuring effective resource utilization aligned with strategic goals. Key Components of Program Budget A program budget consists of several essential elements that work together to create a comprehensive financial framework: Program identification − Clear definition of specific programs or projects requiring funding Resource assessment − Evaluation of personnel, materials, and operational costs needed ...

Read More

C Program to calculate the difference between two time periods

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

In C programming, calculating the difference between two time periods is a common problem that involves handling the borrowing mechanism similar to subtraction in arithmetic. This program takes two time periods as input and computes their difference in hours, minutes, and seconds format. Syntax struct time { int hrs; int min; int sec; }; void diff_between_time(struct time start, struct time stop, struct time *diff); Algorithm The logic to find the difference between start and stop time involves borrowing when the stop ...

Read More

Wrap the flex items in reverse order with CSS

Chandu yadav
Chandu yadav
Updated on 15-Mar-2026 1K+ Views

Use the flex-wrap property with wrap-reverse value to wrap flex items in reverse order. This means that when flex items exceed the container's width and need to wrap, they will wrap in the opposite direction compared to the normal wrap behavior. Syntax selector { flex-wrap: wrap-reverse; } Example The following example demonstrates how wrap-reverse wraps flex items in reverse order − .mycontainer { display: flex; ...

Read More

C program to find maximum occurrence of character in a string

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

In C programming, finding the character with maximum occurrence in a string involves counting the frequency of each character and determining which appears most often. This is useful for text analysis and character statistics. Syntax int frequency[ASCII_SIZE]; while(string[i] != '\0') { frequency[(int)string[i]]++; i++; } Algorithm The algorithm to find maximum occurrence follows these steps − Initialize a frequency array to count occurrences of each ASCII character Traverse the string and increment frequency count for each character Find the character with maximum frequency count ...

Read More

Post Office Saving Schemes

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

Post Office Saving Schemes are government-backed investment and savings programs offered through postal services to provide safe, accessible financial options to the general public. These schemes are designed to encourage saving habits, offer attractive returns, and ensure financial inclusion, particularly for people in rural areas or those without access to traditional banking services. Key Characteristics of Post Office Saving Schemes Accessibility − Available through widespread post office network, reaching both urban and rural areas Government Backing − Schemes are backed by government guarantee, ensuring safety and reliability ...

Read More

Perform Animation on CSS border-top-right-radius property

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

The CSS border-top-right-radius property defines the radius of the top-right corner of an element's border. You can create smooth animations on this property to create engaging visual effects. Syntax selector { border-top-right-radius: value; animation: animation-name duration timing-function; } @keyframes animation-name { from { border-top-right-radius: initial-value; } to { border-top-right-radius: final-value; } } Example: Animating Border Top Right Radius The following example demonstrates how to animate the border-top-right-radius property from 0 to 80px − ...

Read More

Write a C Program to count the frequency of each character

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

In C programming, counting the frequency of each character in a string is a common task that involves scanning through the string and tracking how many times each character appears. Syntax int frequency[26]; // For lowercase letters a-z frequency[character - 'a']++; // Increment count for character Algorithm Step 1: Define maximum string size Step 2: Declare string and frequency array Step 3: Read input string Step 4: Initialize frequency array to 0 Step 5: Iterate through string and count characters: - For lowercase: frequency[string[i] - 'a']++ ...

Read More

Align flex items at the beginning of the container with CSS

Arjun Thakur
Arjun Thakur
Updated on 15-Mar-2026 221 Views

The CSS justify-content property with the flex-start value is used to align flex items at the beginning of the flex container along the main axis. This is the default behavior for flex containers, positioning items at the start of the container. Syntax .container { display: flex; justify-content: flex-start; } Example The following example demonstrates how to align flex items at the beginning of the container using justify-content: flex-start − .mycontainer { ...

Read More

Explain the Character operations in C language

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

Character operations in C language involve handling individual characters, which can be alphabetic (A-Z or a-z), numeric (0-9), whitespace, or special symbols. C provides various functions for character input, output, and manipulation. Syntax char variable_name = 'character'; char variable_name; Character Declaration Characters in C are declared using the char data type and can be initialized with character constants − #include int main() { char a = 'A'; /* using character constant */ char b = ...

Read More
Showing 20731–20740 of 61,297 articles
Advertisements