AAQIB ANAYAT
-
Tower of Hanoi
Tower of Hanoi #include <stdio.h>void move(int n,char source, char target, char spare){ if (n==1) printf("Move from %c to %cn",source,target);…
Read More » -
linear search on array
linear search #include<stdio.h>#include<conio.h>main(){ int array[20],size,search,loop; printf("Enter the size of arrayn"); scanf("%d",&size); printf("Enter %d elements of arrayn",size); for(loop=0;loop<size;loop++) { scanf("%d",&array[loop]); }…
Read More » -
binary search on array
Binary search on array #include<stdio.h>#include<conio.h>main(){ int array[20],size,search,loop; int location,first,last,middle; printf("Enter the size of arrayn"); scanf("%d",&size); printf("Enter %d elements of array…
Read More » -
postfix and prefix expression evaluation
expression evaluation postfix and prefix In this part we will create a Stack and corresponding functions for stack #include<stdio.h>#include <conio.h>#include<stdlib.h>#include<string.h>struct…
Read More » -
priority queue using linked list data structure
Linked list priority queue #include<stdio.h>#include<conio.h>#include<stdlib.h>#include<string.h>struct node{int roll;char name[20];int priority;struct node *link;};struct node *front=NULL;struct node *rear=NULL;struct node *cur=NULL;// Queuee fuctions void…
Read More » -
Functions in C
Functions in C C enables its programmers to break up a program into segments commonly known as functions, each of…
Read More » -
Variables and its types in C
Variables and its types in C A variable is defined as a meaningful name given to a data storage location…
Read More » -
data types in C
What are data types in C Data types The kind of data that the variable may hold in a programming…
Read More » -
Introduction to C language
Introduction to C language A Brief History of C C was invented and first implemented by Dennis Ritchie on a…
Read More » -
What are programming languages
What are programming languages Language is a instrument of communication means it is the way through which we can communicate…
Read More » -
Compiler and Interpreter
Compiler and Interpreter Compiler Is a translator program used to convert high level program into machine language. These compilers converts whole program at a time into…
Read More » -
What is software
What is software? A computer cannot do anything on its own. We need to give instructions to it to make…
Read More » -
change forgot password of your computer using bootable pendrive
How to change forgot password of your computer using bootable pendrive If you have forgot your password and you are…
Read More » -
User Interface Layout
User Interface Layout The building block for a user interface is View. It occupies a rectangular area on the screen…
Read More » -
components of Android Application
what are the components of Android Application? There are following four main components that can be used within an Android…
Read More »