Articles on Trending Technologies

Technical articles with clear explanations and examples

Adjacent Sibling Selectors in CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 1K+ Views

The CSS adjacent sibling selector is used to select the adjacent sibling of an element. It selects only those elements which immediately follow the first selector. The + sign is used as a separator between the two selectors. div p span Element 1 Adjacent Sibling Element 3 + ...

Read More

C program to store the car information using dynamic linked list.

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

A linked list is a dynamic data structure that grows and shrinks during runtime using dynamic memory allocation. It consists of nodes, where each node contains data and a pointer to the next node. This makes it ideal for storing variable amounts of data like car information. Node Structure Each node in a linked list has two main components − Data − Stores the actual information (car model, color, year) Link − Pointer to the next node in the list Types of Linked Lists The types of linked lists in C programming are ...

Read More

Merits and Demerits of Flexible and Fixed Exchange Rate Systems

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

Exchange rate refers to the value of one currency when compared to another currency, showing how much domestic currency is needed to purchase a unit of foreign currency. There are two main exchange rate systems: fixed exchange rate systems where governments or central banks intervene to maintain a stable currency value, and flexible exchange rate systems where currency values are determined by market forces of supply and demand. Key Concepts Fixed Exchange Rate System: The government or central bank actively intervenes in foreign exchange markets to maintain the currency's value within a narrow band or at a specific ...

Read More

Using the combination of Percentage and Em in CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 445 Views

We can use a combination of percentage and em to specify the font-size of elements for better compatibility of font. This allows us to have uniform text across different browsers. Both percentage and em are relative measurements that scale based on their parent elements, making them ideal for responsive design. Syntax selector { font-size: value; } Where value can be a percentage (e.g., 80%, 120%) or em unit (e.g., 1.2em, 2em). Percentages are relative to the parent element's font size, while em units are also relative to the parent's font size. ...

Read More

C program to find the area of circle and cylinder using structures.

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

In C programming, we can calculate the area of a circle and the surface area and volume of a cylinder using structures to organize related data. A structure helps group related geometric properties like radius, height, and calculated areas in a single unit. Syntax struct shape { float radius; float height; float areacircle; float areacylinder; float volumecylinder; }; Formulas Used Area of circle: π × radius² Surface area of cylinder: 2π × radius ...

Read More

Including CSS in HTML Documents

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 280 Views

Adding CSS to an HTML document enhances the appearance of the web page. Various styles for images, borders, margins, and colors can be easily added. To include CSS in HTML documents, we can either include them internally, inline, or link an external file. Syntax /* Inline CSS */ /* Internal CSS */ selector { property: value; } /* External CSS */ Method 1: Inline CSS With inline CSS, use the style attribute ...

Read More

What is an anagram in C language?

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

An anagram is a word or phrase formed by rearranging the letters of another word or phrase, using all original letters exactly once. In C programming, we check if two strings are anagrams by comparing the frequency of each character in both strings. Two strings are anagrams if they contain the same characters with the same frequency, regardless of their order. For example, "listen" and "silent" are anagrams because both contain one 'l', one 'i', one 's', one 't', one 'e', and one 'n'. Syntax int check_anagram(char str1[], char str2[]); Algorithm The anagram ...

Read More

Measures of Government Deficit

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

Government deficit is a fiscal indicator that occurs when a government's expenditure exceeds its revenue. This gap between spending and income reflects the amount a government needs to borrow or use from reserves to meet its financial obligations. Government deficits are crucial economic indicators that help assess the financial health and fiscal policy effectiveness of a nation. A government deficit is an indicator of the 'ill health' of an economy because it shows the expenses that have not been met by the government. Therefore, governments take many remedial steps to minimize the gap between earnings and expenses. Some of ...

Read More

C Program find nCr and nPr.

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

In C programming language, nCr is referred as the combination. nCr is the selection of r objects from a set of n objects, where the order of objects does not matter. nPr is referred as the permutation. nPr is arrangement of 'r' objects from a set of 'n' objects, which should be in an order or sequence. Syntax nCr = n! / (r! * (n-r)!) nPr = n! / (n-r)! Permutations and Combinations Formulas The formulas to find the permutation and combination of given numbers in C language are given below − ...

Read More

The :nth-child Pseudo-class in CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 199 Views

The CSS :nth-child() pseudo-class selects an element that is the nth child of its parent. It allows you to target specific child elements based on their position in the parent container. Syntax :nth-child(n) { /* declarations */ } Possible Values ValueDescription numberSelects the nth child element (1, 2, 3, etc.) oddSelects all odd-positioned child elements evenSelects all even-positioned child elements 2n+1Formula-based selection (every 2nd element starting from 1st) Example 1: Styling Multiple Child Elements The following example demonstrates how to style different child elements using :nth-child() ...

Read More
Showing 20361–20370 of 61,297 articles
Advertisements