Articles on Trending Technologies

Technical articles with clear explanations and examples

Sales Book and Sales Return Book

Bitopi Kaashyap
Bitopi Kaashyap
Updated on 15-Mar-2026 1K+ Views

Sales books and sales return books are essential accounting registers that help businesses maintain accurate records of their sales transactions and product returns. A sales book records all credit sales made by a business, while a sales return book tracks goods returned by customers due to defects, dissatisfaction, or other reasons. Sales Books and Contents Sales books, also known as sales daybooks or sales journals, are specialized accounting registers used to record all credit sales transactions made by a business. These books provide a chronological record of sales, which is essential for accurate financial reporting and business analysis. ...

Read More

Differentiate between int main and int main(void) function in C

Sindhura Repala
Sindhura Repala
Updated on 15-Mar-2026 16K+ Views

In C programming, there is a subtle but important difference between int main() and int main(void). Both declare the main function to return an integer, but they differ in how they handle function parameters. Syntax int main() { // Function body return 0; } int main(void) { // Function body return 0; } The int main() Function The int main() function with empty parentheses indicates that the function can accept any number of arguments. In C, when ...

Read More

How to create a navigation bar with equal-width navigation links with CSS?

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

Creating a navigation bar with equal-width navigation links ensures that each menu item takes up the same amount of space, providing a balanced and professional appearance. This can be achieved using CSS properties like width with viewport units or flexbox. Syntax /* Method 1: Using viewport width */ .nav-link { width: calc(100% / number-of-links); } /* Method 2: Using flexbox */ .nav-container { display: flex; } .nav-link { flex: 1; } Method 1: Using Viewport Width The following example creates a ...

Read More

Sacrificing Ratio

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

Sacrificing ratio is a fundamental concept in partnership accounting that determines how existing partners adjust their profit-sharing arrangements when changes occur in the partnership structure. It represents the proportion of profit share that existing partners give up to accommodate new partners or redistribute among themselves when a partner leaves the firm. Formula The sacrificing ratio is calculated using the following formula: $$\mathrm{Sacrificing\ Ratio = Old\ Profit\ Sharing\ Ratio - New\ Profit\ Sharing\ Ratio}$$ Where: Old Profit Sharing Ratio − The original profit-sharing arrangement before any change in partnership ...

Read More

What are string searching functions in C language?

Sindhura Repala
Sindhura Repala
Updated on 15-Mar-2026 2K+ Views

String searching functions in C are built-in library functions that help locate specific characters, substrings, or patterns within strings. These functions are part of the standard C library (string.h) and provide efficient ways to search and analyze string content. Syntax #include char *strchr(const char *str, int c); char *strrchr(const char *str, int c); char *strpbrk(const char *s1, const char *s2); size_t strspn(const char *s1, const char *s2); size_t strcspn(const char *s1, const char *s2); char *strtok(char *s1, const char *s2); char *strtok_r(char *s1, const char *s2, char **saveptr); String Searching Functions Overview ...

Read More

How to create a navigation bar with a centred link/logo with CSS?

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 524 Views

Creating a navigation bar with a centered link or logo is a common web design pattern. This can be achieved using CSS positioning techniques to place navigation items on the left, center, and right sides of the navigation bar. Syntax nav { position: fixed; top: 0; width: 100%; } .center-links { display: inline-block; margin-left: 50%; transform: translateX(-50%); } Example The following example creates a fixed navigation bar with links ...

Read More

What are memory operations in C language?

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

Memory operations in C are functions that manipulate raw bytes in memory, regardless of data type. These functions are declared in #include and work with void* pointers to handle any data type. Syntax The five primary memory functions have the following prototypes − void *memchr(const void *s, int c, size_t n); int memcmp(const void *s1, const void *s2, size_t n); void *memcpy(void *dest, const void *src, size_t n); void *memmove(void *dest, const void *src, size_t n); void *memset(void *s, int c, size_t n); Memory Functions Overview ...

Read More

Rural Credit

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

Rural credit refers to the financial assistance provided to farmers, agricultural workers, and small business owners in rural areas to support their farming activities and livelihood needs. It plays a crucial role in India's agricultural economy by enabling farmers to purchase seeds, fertilizers, equipment, and meet their financial requirements during the crop cycle. Sources of Rural Credit There are five major formal sources from which farmers can obtain rural credit at reasonable interest rates: Land Development Banks Land development banks provide long-term agricultural loans with land as collateral. These loans have a repayment tenure of 15 to ...

Read More

How to create a navigation bar with left-aligned and right-aligned links with CSS?

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

To create a navigation bar with left-aligned and right-aligned links with CSS, you should have a basic understanding of CSS flexbox. First, we will create the structure of navigation bar having five links using HTML, then we will use CSS to design the navigation bar and align the links on the left and right sides using flexbox properties. Syntax nav { display: flex; justify-content: space-between; } .left-links { flex: 1; } .right-links { display: flex; } Method ...

Read More

C program to store inventory system using structures

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

In C programming, an inventory management system can be efficiently implemented using structures to store and organize product information. Structures allow us to group related data of different types under a single entity, making it perfect for managing inventory details like item names, codes, quantities, prices, and manufacturing dates. Syntax struct structure_name { datatype member1; datatype member2; /* more members */ }; Features of Structures The key features of structures in C programming are − Enables grouping of different data ...

Read More
Showing 20291–20300 of 61,298 articles
Advertisements