Bhanu Priya has Published 1450 Articles

How to swap two arrays without using temporary variable in C language?

Bhanu Priya

Bhanu Priya

Updated on 09-Dec-2024 16:53:46

5K+ Views

Swap two arrays without using a temporary variable. We will use arithmetic and bitwise Operators instead of a third variable. The logic to read the first array is as follows − printf("enter first array ele:"); for(i = 0; i < size; i++){ scanf("%d", &first[i]); } The logic ... Read More

How to convert binary to Hex by using C language?

Bhanu Priya

Bhanu Priya

Updated on 09-Dec-2024 16:44:29

10K+ Views

Binary numbers are represented in 1’s and 0’s. It can also be referred to as a rational number with a finite representation in the system. This is a quotient of an integer by a power of two. Hexadecimal number system with 16 digits is {0, 1, 2, 3…..9, A(10), B(11), ... Read More

Explain the sorting techniques in C language

Bhanu Priya

Bhanu Priya

Updated on 09-Dec-2024 16:28:32

38K+ Views

In this article, we are going to learn about the different sorting techniques and their implementations in C language. Sorting in C programming requires rearranging elements in the array into a determined order, i.e., in ascending or descending order. This will use the comparison operator to specify the new order ... Read More

Explain the evaluation of expressions of stacks in C language

Bhanu Priya

Bhanu Priya

Updated on 06-Dec-2024 15:49:44

20K+ Views

Stack is a linear data structure, that allows elements to be added and removed in a last-in, first-out(LIFO). The main operations are − Push Pop Display The Push Operation A stack adds a new item on ... Read More

Explain the concepts of Pointers and arrays in C language

Bhanu Priya

Bhanu Priya

Updated on 06-Dec-2024 15:26:29

3K+ Views

Pointers and Arrays A pointer in C is a variable that stores the address of another variable, which can be of any type(char, int, function). In a 32-bit system, the size of the pointer is 2 bytes. An array is a collection of similar data items stored ... Read More

Explain putc() and getc() functions of files in C language

Bhanu Priya

Bhanu Priya

Updated on 06-Dec-2024 14:45:51

12K+ Views

A file is a collection of data stored in secondary memory. Files are used to store information that programs can determine. A file represents a sequence of bytes, whether it is a text file or a binary file. It is a collection of records or a location on the hard ... Read More

C program to find maximum occurrence of character in a string

Bhanu Priya

Bhanu Priya

Updated on 06-Dec-2024 02:01:55

3K+ Views

An array of characters is called a string. Declaration Following is the declaration declaring an array is as follows − char stringname [size]; For example: char string[50]; string of length 50 characters Initialization Using single character constant − char string[10] = { ‘H’, ‘e’, ... Read More

How to Insert Hyperlink in HTML Page?

Bhanu Priya

Bhanu Priya

Updated on 02-Dec-2024 15:13:25

161K+ Views

To insert a hyperlink in a HTML page, we have to utilize the anchor tags and labels, which are used to characterize the connections. The tag demonstrates where the hyperlink begins and the < / a> tag shows where it closes. Whatever text gets added inside these ... Read More

How to center a div using CSS?

Bhanu Priya

Bhanu Priya

Updated on 08-Aug-2024 17:14:41

12K+ Views

To center a div using CSS, is one of the most important aspects of front-end development which can be achieved using various CSS properties. In this article we have used 5 approaches to center a div using CSS. We are having parent div elements and some child p elements, our ... Read More

What is shared memory architecture in parallel databases?

Bhanu Priya

Bhanu Priya

Updated on 04-Jul-2024 14:15:22

4K+ Views

In parallel database system data processing performance is improved by using multiple resources in parallel. In this CPU, disks are used parallel to enhance the processing performance. Operations like data loading and query processing are performed parallel. Centralized and client server database systems are not powerful enough to handle applications ... Read More

Advertisements