Technology Source

[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Java – Read/Parse Command Line Arguments/Options

Maven Dependency : <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.2</version> </dependency> Sample Java Program : package test; import org.apache.commons.cli.BasicParser; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; public class Test { public static void main(String[] args) { //Define Options Options options = new Options(); //Option Name - option1 //Has input value - true options.addOption("option1", true, "Option 1 Description");… Read More »

Read more
Alternative text

Ubuntu Edge – Smartphone from Canonical Ltd with Ubuntu Mobile OS

          The smartphones are all over the world. They are manufactured by number of companies with different technologies and innovations. Some of the popular manufactures are Apple, Samsung, Nokia, Sony etc. Canonical Ltd is another company to join their hands in the smartphone industry. Canonical Ltd is a computer software company,… Read More »

Read more
Alternative text

Linked List in C- Reversing Every N Nodes of Linked List using Recursion

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Reversing Every N Nodes of Linked List using Recursion : Input: 1->2->3->4->5->6->7->8 Output: 3->2->1->6->5->4->8->7 Source Code : #include<stdio.h> struct node { int data; struct node *next; }; struct node* reverse(struct node **head,int N) { struct… Read More »

Read more
Alternative text

Linked List in C- Insert New Node at Position N in Linked List

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Insert New Node at Position N in Linked List : Source Code : #include<stdio.h> struct node *head=NULL; //Pointer to store the staring node of the linked list //Always stores the address location of… Read More »

Read more
Alternative text

Linked List in C- Insert Node at Start of the Linked List

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Insert Node at Start of the Linked List :            Linked List is a data structure which is used to store and retrieve data. Consider the following image.  … Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]

Close Bitnami banner
Bitnami