Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
What is strrev() Function in C language?
In C programming, the strrev() function is used to reverse a string in-place. However, strrev() is not part of the standard C library — it is a Microsoft-specific extension found in some compilers. For portable code, we need to implement string reversal manually. Syntax char* strrev(char* str); Where str is the string to be reversed. The function returns a pointer to the reversed string. Example 1: Manual String Reversal Using Two Pointers Since strrev() is not standard, here's how to reverse a string using a custom function − #include #include ...
Read MorePerform Animation on CSS min-width
The CSS min-width property can be animated to create dynamic width transitions. This property sets the minimum width of an element, and when animated, it smoothly transitions between different minimum width values. Syntax selector { animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { percentage { min-width: value; } } Example: Animating min-width Property The following example demonstrates how to animate the min-width property using CSS keyframes − ...
Read MoreNational Pension System (NPS)
The National Pension System (NPS) is a voluntary, long-term retirement savings scheme regulated by the Pension Fund Regulatory and Development Authority (PFRDA) of India. Launched on January 1, 2004, and extended to all citizens from May 1, 2009, NPS aims to provide financial security during retirement through systematic savings and investments in equity and debt instruments. Key Features NPS operates on a defined contribution model where subscribers contribute regularly during their working years. The minimum annual contribution is ₹6, 000 (or ₹500 per month), with no upper limit. Subscribers receive a unique Permanent Retirement Account Number (PRAN) that ...
Read MoreExplain scope rules related to the functions in C language
Scope rules in C programming determine the accessibility, lifetime, and boundary of variables within different parts of a program. Understanding scope is crucial for proper variable management and avoiding naming conflicts. Syntax // Local variable declaration return_type function_name() { data_type local_variable; // Local scope } // Global variable declaration data_type global_variable; // Global scope return_type function_name() { // Function body } Function Scope Rules Scope rules related to functions follow these principles − Local Variables: Variables declared within a ...
Read MoreAnimate transform-origin property with CSS Animation
The CSS transform-origin property defines the point around which a transformation is applied. When animated, you can create dynamic effects where the rotation or scaling point changes during the animation. Syntax selector { transform-origin: x-axis y-axis z-axis; animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { percentage { transform-origin: new-x new-y new-z; } } Possible Values ValueDescription lengthSpecific distance from the left/top edge (px, em, rem) percentagePercentage of ...
Read MoreWhat are the predefined functions in C language?
In C programming, functions are classified into two main types − Predefined functions (Library functions) User-defined functions Predefined functions are pre-written functions available in C standard libraries. They provide ready-to-use functionality for common programming tasks, helping developers write efficient and error-free code. Syntax #include return_type function_name(parameters); Key Features of Predefined Functions Already defined in system libraries Tested and optimized for performance Reduce development time and effort Require appropriate header file inclusion Follow standard syntax and conventions Common Mathematical Functions The math.h library provides various mathematical ...
Read MoreCSS rest-before Speech Media property
The CSS rest-before property is used in speech media to set a pause or rest period before speaking the content of an element. This property is part of the CSS Speech Module and helps control the timing and flow of synthesized speech. Syntax selector { rest-before: value; } Possible Values ValueDescription timeSpecifies the pause duration in seconds (s) or milliseconds (ms) noneNo pause before the element (default) x-weakVery short pause weakShort pause mediumMedium pause strongLong pause x-strongVery long pause Example: Setting Rest Before Elements The following ...
Read MoreMUDRA Loans
MUDRA loans are a government-initiated credit financing scheme designed to support Micro, Small, and Medium Enterprises (MSMEs) in India. Launched under the Pradhan Mantri Mudra Yojana on April 8, 2015, these loans provide financial assistance ranging from Rs 50, 000 to Rs 10 lakhs without requiring collateral security. MUDRA Loan Categories MUDRA loans are classified into three distinct categories based on loan amount: Shishu − Maximum loan amount up to Rs 50, 000 Kishor − Loan amount between Rs 50, 001 to Rs 5, 00, 000 ...
Read MoreCSS voice-duration Speech Media property
The CSS voice-duration property is used to control the duration of speech synthesis when synchronizing speech with other media elements. This property is part of CSS Speech Module and helps in creating timed audio presentations. Syntax selector { voice-duration: value; } Possible Values ValueDescription autoUses the natural duration based on inherited voice-rate (default) timeSpecifies exact duration using time units (s, ms) Example: Setting Speech Duration The following example sets a specific duration for speech synthesis − ...
Read MoreWhat are different pointer operations and problems with pointers in C language?
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before using it to store any variable address. Syntax datatype *pointer_name; Where datatype is the type of variable the pointer will point to, and pointer_name is the name of the pointer variable. Memory Representation Consider the following statement − int qty = 179; 179 qty Address: 1000 ...
Read More