In this pointer is pointing the memory address of variable but after some variable has deleted from that memory location while pointer is...
Binary Tree Traversal Using Recursive and Non Recursive Function in C
#include<stdio.h> #include<conio.h> #include<alloc.h> typedef struct bint { int data,flag; struct bint *left,*...
Overloading the output operator in c++
#include <iostream> using namespace std; class x { int i; public: x(int k) { i=k; } friend ostream&...
How to find out if a processor is Little-Endian Big-Endian
#include<stdio.h> main() { int num = 1; if(*(char *)&num == 1) { printf("\nLittle-Endian\n"); ...
Difference between c and c++
Actually c is a procedural programming language which cann't face the real world problem. It has some drawback like a global data ...
Circular Queue insert delete operation using c
#include <stdio.h> #include<ctype.h> #include<stdlib.h> #define MAXSIZE 5 int cq[MAXSIZE]; int front,rear; void ma...
Doubly linkked list insert , delete, any position using c++
#include<iostream.h> #include<conio.h> #include<process.h> class list { struct dlist { int data; struct dlist *...
Find sum of array element . Then sort the element
#include<stdio.h> #include<conio.h> void main() { int a[10],i,j,s=0; clrscr(); printf("Enter the elements of The...