Posts tagged as:

Programming

C Programming

Double Ended Linear Queue – Dequeue

Elements can be added and removed from the Queue from both ends. This general data class has some possible sub-types:An input-restricted deque & an output-restricted deque.

C Programming

Doubly Linked List

Doubly-Linked Lists — linked lists containing integer values or pointers to data, with the ability to iterate over the list in both directions.

C Programming

Singly Linked List

Linked lists are a way to store data with structures so that the programmer can automatically create a new place to store data whenever necessary. Specifically, the programmer writes a struct or class definition that contains variables holding information about something, and then has a pointer to a struct of its type. Each of these individual struct or classes in the list is commonly known as a node.

C Programming

Circular Linked List

A circular linked list is very similar to a linear linked list except that it no longer uses null to terminate the list. The tail now points to the head, erasing the need for a null reference. A circular linked list saves the requirement of a head node, but the algorithms of iterating a circular linked list become slightly more complicated.

C++ Programming

Accessing Private members using Friend Function of a different class

Accessing Private data members of a class from a different class’s member function using Friend Function

C++ Programming

Accessing Private members using a normal Friend Function

Accessing data members of a Private Class using a normal function outside the scope of the class by making it a friend function.

Java Programming

Accepting input from Command-Line in Java

Accepting input from Command-Line in Java and taking 10 numbers. Print the smallest and largest by sorting the list using Bubble Sort.

C Programming

File Handling – Reading Strings and individual Characters

Reading Strings and individual Characters from a text file using File Handling in C.

C Programming

File Handling – Separate Even, Odd numbers

Accept 10 numbers and separate Even,Odd numbers and write them into two separate files using File Handling in C.

C Programming

File Handling – Add, Delete, Modify, Search Records

Program to Add, Delete, Modify, Search records of Employee using a structure in a Binary file using File Handling in C.

C Programming

Dynamic Linear Search

Creating a dynamic array using malloc() and performing a Linear search on the Dynamic Data Structure.

C Programming

File Handling – Reading and Writing to a Binary File

File Handling in C using a Binary file to write a structure variable to a file and read the same to display it as output.

C Programming

Delete Element in an Array

‘Deleting’ elements from an array might mean two things: deleting the value for a particular index (or indices) in the array (while still leaving the slot in the array open), or, actually removing a slot (and its contents) from the array.

C Programming

Bubble Sort

Bubble sort is a simple sorting algorithm. It works by repeatedly stepping through the list to be sorted, comparing each pair of adjacent items and swapping them if they are in the wrong order.

C Programming

Fibonacci Series

In mathematics, the Fibonacci numbers are the following sequence of numbers:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, . . .

C Programming

Binary Search on Array of 10 Elements

To conduct Binary Search on an array of 10 elements stored in asscending order.

Page 3 of 3123

WordPress - Vaibhav Kanwal