Swift: A New Programming Language Introduced by Apple For iOS and OS X Development

Swift is an object-oriented programming language for iOS and OS X development which is recently introduced by Apple at its WWDC 2014. It is intended to coexist with Objective-C, the current programming language for Apple operating systems. Swift is designed to be more resilient against erroneous code. It is built with the LLVM compiler. Also …

Swift: A New Programming Language Introduced by Apple For iOS and OS X Development Read More »

What are B+ Trees?

B+ tree is a variation of B-tree data structure. In a B+ tree, data pointers are stored only at the leaf nodes of the tree. In a B+ tree structure of a leaf node differ from the structure of internal nodes. The leaf nodes have an entry for every value of the search field, along …

What are B+ Trees? Read More »

C Program for Implementation of Circular Queue Using Array

#include<stdio.h> #define MAX 10 typedef struct Q { int R,F; int data[MAX]; }Q; void initialise(Q *P); int empty(Q *P); int full(Q *P); void enqueue(Q *P,int x); int dequeue(Q *P); void print(Q *P); void main() { Q q; int op,x; initialise(&q); do   { printf(“nn1)Insertn2)Deleten3)Printn4)Quit”); printf(“nEnter Your Choice:”); scanf(“%d”,&op); switch(op)   { case 1: printf(“nEnter a …

C Program for Implementation of Circular Queue Using Array Read More »

C Program for Addition and Multiplication of Polynomial Using Arrays or Linked List

Polynomial addition, multiplication (8th degree polynomials) using arrays #include<math.h> #include<stdio.h> #include<conio.h> #define MAX 17 void init(int p[]); void read(int p[]); void print(int p[]); void add(int p1[],int p2[],int p3[]); void multiply(int p1[],int p2[],int p3[]); /*Polynomial is stored in an array, p[i] gives coefficient of x^i .   a polynomial 3x^2 + 12x^4 will be represented as …

C Program for Addition and Multiplication of Polynomial Using Arrays or Linked List Read More »