Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Scope resolution operator

In C++ scope resolution operator is used to define a function outside a class. If a user  has a local variable with same name as global variable and wants to use a global variable the we use the scope resolution operator.   include<ios

Return maximum occurring character in the input string in C++?

// C++ program to output the maximum occurring character in a string #include<bits/stdc++.h> #define ASCII_SIZE 256 using namespace std; char getMaxOccuringChar(char* str) { int count[ASCII_SIZE] = {0};//create an array to keep characte

Pattern Desigining in PHP

Hello Reader! All of us must have designed a code to print pyramid or some other pattern of asterisk using C, C++. Here is a simple program to print the different asterisk(stars) patterns in PHP. A pattern of stars is a way of arranging these in some

Iterator in Java

Iterator in Java java.util package has public interface Iterator. Iterator can be defined as interface which belongs to collection framework. Iterator as name suggest allows accessing,removing and traversing data element con

Program to print missing elements that lie in range 0 – 99

The logic of the program is to use a boolean array named presentseen of size 100, the size is defined by macro LIMIT. The boolean array is used to keep track of array elements that lie in range 0 to 99, which is initially initialized t

Java Reflection and  java.lang.Class class

Java Reflection The run time behaviour of a class can be examined and modified at run time,this process is called java reflection. To examine and change the run time behaviour of a class  java.lang.Class is used which provides many methods

Pointers in C++

A pointer is variable whose value is address  of another variable You must declare it before using it in your program.   C++ performed task more easily with pointers, such as dynamic memory allocation, cannot be performed without them. &

Composite DataType in C++

C++ allows you to define different types of variables. You can define a single variable that can hold data of multiple variables.   Defining a Structure: struct [structure tag] { member definition; member definition; ... member d

  • 152
Insertion sort in C

Sorting in C is mainly done to arrange elements either in ascending or in descending order.   Sorting in done in programming by various ways   We are about to discuss insertion sort that will take element wise comparison for performing

Linear Search in C

For doing search in C we use linear search a very simple and common searching process used for finding elements inside the array.   Linear search is also called as the sequential search.       Linear Search Algorithm Lin

  • 574
1 98 320
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: