Posts Tagged: coding

Count word in sql server

In this blog i am going to write a function which returns word count in sql server. Sql server does not provide inbuilt function for calculating word count. So we have to write a custom function in sql. CREATE FUNCTION… Continue Reading →

Programing code to Interchange numbers in C++.

This program ask to the user to enter two numbers (value of First and Second ) to interchange and display the result on the screen

Encapsulation in C++.

Encapsulation: Encapsulation is process of wrapping of data and method in single unit.
Encapsulation provides abstraction between an object and its clients. It helps to protect an object from unwanted access by clients.
Encapsulation is a powerful feature that leads to information hiding,abstract data type and friend function.

Function Overloading in C++.

Overloading: There are many simple definition of Overloading like:

1: In overloding function with same name having different parameters.

2: Function overloading may have different return types.

Introduction to JavaScript

In this article we learn why we should learn javascript and some basics of javascript.

Virtual function in C++.

Virtual function: Virtual functions, one of advanced features of Oop is one that does not really exist but it appears real in some parts of a program.
To make a member function virtual, the keyword virtual is used in the methods while it is declared in the class definition but not in the member function definition.

Factorial of Any number by using do-while .

Factorial: Factorial are just products,indicated by an exclamation mark. In general “n!” means the product of all the whole numbers from 1 to n; i.e n!= 1x2x3x4x……x n.

A program to find sum of n numbers by using while loop in c++.

This program add up to n numbers which will be provided by user. Firstly user will enter a fix number to indicate how many numbers he wants to add and then he will enter n numbers.

Number pattern in C.

Number Patterns: In C language you can print any number pattern. Here, this program teach you how print all combination of 123.

Program to find Factorial by using While loop.

Factorial number: The factorial of any number ( let n) indicates the multiplication of series of positive integers starting from n and descending till 1.