Articles on Trending Technologies

Technical articles with clear explanations and examples

Angle between two Planes in 3D in C Program?

Aman Kumar
Aman Kumar
Updated on 15-Mar-2026 299 Views

In 3D geometry, planes are flat surfaces extending infinitely in space. When two planes intersect, they form a line, and the angle between them becomes an important geometric measure. The angle between two planes is calculated using their normal vectors and the dot product formula. Syntax angle = acos(dot_product / (magnitude1 * magnitude2)) * (180 / PI) Plane Equations Two planes in 3D space can be represented by the following general equations − P1: a1 * x + b1 * y + c1 * z + d1 = 0 P2: ...

Read More

Usage of CSS @charset rule

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

The CSS @charset rule specifies the character encoding used in an external CSS file. It must be placed at the very beginning of the CSS file to ensure proper interpretation of special characters and symbols. Syntax @charset "encoding"; Rules for Usage Must be the first thing in the CSS file (no spaces or comments before it) The encoding name must be enclosed in double quotes Only one @charset rule is allowed per CSS file Most commonly used with UTF-8 encoding Example: UTF-8 Character Set The following example shows how to ...

Read More

Bounce Animation Effect with CSS

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

The CSS bounce animation effect creates a realistic bouncing motion by moving an element up and down with decreasing amplitude, simulating the physics of an object bouncing off a surface. Syntax @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } .element { animation: bounce 1s ease-in-out; } How Bounce Animation Works The bounce effect uses @keyframes to define multiple stages of movement. The ...

Read More

Alphanumeric Abbreviations of a String in C Program?

Arnab Chakraborty
Arnab Chakraborty
Updated on 15-Mar-2026 649 Views

In C programming, generating alphanumeric abbreviations of a string means creating all possible combinations where some characters can be replaced with numbers representing the count of omitted characters. For example, "HELLO" can be abbreviated as "HE2O" where "2" represents the two omitted characters "LL". Syntax void printAbbreviation(const char* s, int index, int max_index, char* str, int str_len); Algorithm The recursive algorithm works as follows − printAbbreviation(s, index, max, str) − begin if index is same as max, then print str ...

Read More

Animation Effects in CSS

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 177 Views

The animation is the process of creating motion effects and changing the appearance of elements. CSS supports different animation effects to create smooth transitions and dynamic visual changes on web pages. CSS animations use a concept called keyframes to control the intermediate steps during the animation sequence. Keyframes define what styles the element will have at certain times during the animation. Syntax @keyframes animation-name { from { /* starting styles */ } to { /* ending styles */ } } /* Or with percentages */ @keyframes animation-name ...

Read More

C Program to Find the minimum sum of factors of a number?

sudhir sharma
sudhir sharma
Updated on 15-Mar-2026 499 Views

The minimum sum of factors of a number is the sum of all prime factors (with repetition) of that number. This approach decomposes the number into its smallest possible factors, which are prime numbers, resulting in the minimum possible sum. Syntax int findMinSumOfFactors(int n); Explanation To find the minimum sum of factors, we need to find all possible ways to factorize the number and compare their sums. The minimum sum is always achieved by using prime factorization − Input: n=12 Output: 7 Following are different ways to factorize 12 and ...

Read More

C Program to Compute Quotient and Remainder?

sudhir sharma
sudhir sharma
Updated on 15-Mar-2026 504 Views

Given two numbers dividend and divisor, we need to write a C program to find the quotient and remainder when the dividend is divided by the divisor. In division, we see the relationship between the dividend, divisor, quotient, and remainder. The number which we divide is called the dividend. The number by which we divide is called the divisor. The result obtained is called the quotient. The number left over is called the remainder. 55 ÷ 9 = 6 and 1 Dividend Divisor Quotient Remainder Syntax quotient = dividend / divisor; remainder = ...

Read More

CSS pause-before property

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

The CSS pause-before property specifies a pause to be observed before speaking an element's content in speech synthesis. This property is part of the CSS Speech Module and is used to control timing in text-to-speech applications. Syntax selector { pause-before: value; } Possible Values ValueDescription timeExpresses the pause in absolute time units (seconds and milliseconds) percentageRefers to the inverse of the value of the speech-rate property noneNo pause before the element (default) inheritInherits the value from the parent element Example 1: Using Time Values The following ...

Read More

C Program To Check whether Matrix is Skew Symmetric or not?

sudhir sharma
sudhir sharma
Updated on 15-Mar-2026 4K+ Views

A square matrix A is said to be skew-symmetric if Aij = −Aji for all i and j. In other words, a matrix A is skew-symmetric if the transpose of matrix A equals the negative of matrix A (AT = −A). Note that all main diagonal elements in a skew-symmetric matrix are zero. Syntax // Check if matrix[i][j] == -matrix[j][i] for all i, j if (A[i][j] == -A[j][i]) { // Matrix is skew-symmetric } Example Matrix Let's take an example of a 3×3 matrix − A = ...

Read More

CSS pause property

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

The CSS pause property is a shorthand for setting pause-before and pause-after properties in speech synthesis. It defines the pause duration before and after an element when the content is read aloud by screen readers or speech synthesizers. Syntax selector { pause: time; /* or */ pause: pause-before pause-after; } Possible Values ValueDescription timeSpecifies the pause duration in seconds (s) or milliseconds (ms) pause-before pause-afterTwo values: first for pause before, second for pause after Example: Setting Pause Duration ...

Read More
Showing 21471–21480 of 61,297 articles
Advertisements