Articles on Trending Technologies

Technical articles with clear explanations and examples

Tax-Saving Bonds

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

Tax-saving bonds are debt instruments issued by government entities and public sector undertakings that offer investors the dual benefit of tax deductions and fixed returns. These bonds help reduce taxable income while providing a secure investment avenue for long-term wealth creation. Key Features Lock-in Period − Typically 5-15 years with no premature redemption Tax Deduction − Eligible under Section 80C up to ₹1.5 lakh annually Fixed Returns − Predetermined interest rates ranging from 5-8% per annum Low Risk − Backed by government or PSUs, ensuring capital ...

Read More

The padding shorthand Property in CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 447 Views

The padding property in CSS is a shorthand property that allows you to set the inner spacing for all four sides of an element in a single declaration. It controls the space between an element's content and its border. Syntax selector { padding: value; } Possible Values Number of ValuesDescriptionOrder 1 valueApplied to all four sidestop, right, bottom, left 2 valuesFirst = top/bottom, Second = left/rightvertical, horizontal 3 valuesFirst = top, Second = left/right, Third = bottomtop, horizontal, bottom 4 valuesClockwise from toptop, right, bottom, left Example ...

Read More

Write a C program using time.h library function

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

The time.h library in C provides various functions to work with date and time. This library allows you to get the current system time, format it, and perform time-related calculations. Syntax #include time_t time(time_t *timer); char *strftime(char *str, size_t maxsize, const char *format, const struct tm *timeptr); struct tm *localtime(const time_t *timer); Key Functions time() − Returns the current time as seconds since January 1, 1970 (Unix timestamp) strftime() − Formats time into a string according to specified format specifiers localtime() − Converts time_t to local time structure (struct tm) ...

Read More

Write a C program to check the atexit() function

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

The atexit() is a function that allows the user to register a function that has to be called when the program terminates normally. These registered functions are called in the reverse order of their registration. It is a predefined function that is included in the stdlib.h header file. Syntax int atexit(void (*function)(void)); Parameters: function − Pointer to a function that takes no parameters and returns no value. Return Value: Returns 0 on success, non-zero on failure. Example 1: Basic Usage This example demonstrates how atexit() calls registered functions in ...

Read More

Switching in Mutual Funds

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

Switching in mutual funds refers to transferring your investment from one mutual fund scheme to another within the same fund family or Asset Management Company (AMC). This facility allows investors to reallocate their investments without exiting the fund house entirely, providing flexibility to adapt to changing market conditions or investment objectives. Key Concepts Fund families are groups of mutual funds managed by the same investment company or AMC. When you switch between funds within the same family, you're essentially selling units of one scheme and purchasing units of another scheme. This process is treated as a redemption followed ...

Read More

Relative Length Units in CSS

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

Relative length units in CSS are used to specify a length relative to another length property. These units provide flexibility and responsiveness in web design by scaling based on context rather than fixed values. Syntax selector { property: value + unit; } Types of Relative Length Units Unit Description em Relative to the font-size of the element (4em = 4 times current font size) ex Relative to the x-height of the current font ch Relative to width of the "0" character ...

Read More

Calculate interest amount by using formula in C language

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

In C programming, calculating interest on deposited amounts is a common financial calculation. This program demonstrates how to compute the final amount after applying continuous compound interest over a specified period. Syntax A = P * exp((r/100) * t) Where: P = Principal amount (initial deposit) r = Annual interest rate (percentage) t = Time period in years A = Final amount after interest Algorithm START Step 1: Declare double variables P, r, t, A, M Step 2: Read principal amount to be deposited Step 3: Read annual interest rate ...

Read More

Explain the functions fread() and fwrite() used in files in C

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

In C programming, fread() and fwrite() functions are used for binary file operations to read and write entire structures or data blocks at once. These functions are particularly useful when working with structured data like records. Syntax size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream); size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream); Parameters ptr − Pointer to the memory location to read/write data size − Size of each element in bytes nmemb − Number of elements to read/write stream − File pointer Return Value Both functions ...

Read More

Red Herring Prospectus

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

A Red Herring Prospectus (RHP) is a preliminary document filed by companies planning to go public through an Initial Public Offering (IPO). It contains detailed information about the company's business, financial performance, and operations, but excludes final pricing and share allocation details. The document gets its name from the red disclaimer on its cover stating that information is subject to change. Key Components of Red Herring Prospectus A red herring prospectus typically contains the following essential information: Company details − Information about the company's history, management structure, and ownership details Industry overview − Detailed analysis of the ...

Read More

Setting Column Rules in CSS3

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 324 Views

The CSS column-rule property is used to create visual separators between columns in a multi-column layout. It allows you to set the width, style, and color of the rule that appears between columns. Syntax /* Shorthand property */ column-rule: width style color; /* Individual properties */ column-rule-width: value; column-rule-style: value; column-rule-color: value; Possible Values PropertyValuesDescription column-rule-widththin | medium | thick | lengthSets the width of the column rule column-rule-stylenone | solid | dotted | dashed | doubleSets the style of the column rule column-rule-colorcolor valuesSets the color of the column rule ...

Read More
Showing 20541–20550 of 61,299 articles
Advertisements