# JavaScript Programming

## JavaScript > Code Examples

### A Simple Parallel Array Lookup

Write structure into file in C Programming -
The function adds the relatiuve addres to the index for a key. C function writes a record to the file. Sets the relative address for the next record to be the value of current file position

Find Armstrong number in C++ Language -
In math, A number in which the sum of cube of its individual digits is equal to the number itself is called Armstrong number. 1^3 + 5^3 + 3^3 = 153. To make logic firstly concept about

Display decimal equivalent of input binary -
C Programming language example to display decimal equivalent of a input binary number. What will be the length of input no.? Don't exceed input from your input limit or 5 digits

C Language Code find First and Last Digit -
C Language program code to find first & last digit. Input a number from user & store it in some variable say num. Find last digit using modulo division by 10 lastDigit = num % 10.

Insert Element in Array at certain position -
Enter array size, array elements, element to be insert, enter the index where to insert the desired element in the array, so this program insert the desired element and displaying the

Simple Singly Linked List Programs in C++ -
In C++, Linked list is a linear collection of data elements, called nodes, each pointing to the next node by means of a pointer. So this is a data structure consisting of a group of nodes

Making Your Functions to be Inline in C++ -
An inline function is a function in which body is inserted in the "place of its call". There are two ways to make your functions to be inline. The first one consists in 'simple definition' of

Program code to addition of two matrices -
Before accepting the Elements Check if no of rows and columns of both matrices is equal. Accept the Elements in Matrix 1 and Matrix 2. Addition of two matrices. Print out the matrix