
Search In
Selection sort as the name suggests, first select the least element from the entire list in every iteration and swap it with the position for which iteration is being performed.
In the given figure it is seen that in the first iteration the
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
COALESCE():-
COALESCE is a function in SQL Server which returns the first non NULL expression amongst its parameter. If all the parameters are evaluated to NULL, It will return NULL
Syntex:-
COALESCE( expre
Regular expression also supports a number of special characters that may be affect the way for matching a pattern.
For example: Enter the regex: sri.....
&nbs
In OpenERP first create custom module and inherits the hr module in your existing module.
Follow these step given below
Step1- First create existing module like as test and than create .py file in your own module like as a test.py file and
Cyclomatic complexity metric was firstly introduced by Thomas J. McCabe in 1976, based on control flow representation of the program.
It is used to refer the complexity of the program(source code).
It is a measure of the numbe
Producer–Consumer problem is also known as the bounded-buffer problem.It is multi-process synchronization problem.There are two processes one is producer and another is consumer that can share a common and fixed-size buffer. The producer insert the d
In javascrit,if you re-declare a variable, it wouldn't lose it value.
Example ->
var a=10;
var a;
alert(a);
Output : 5
Here you can see, in JavaScript the output will be same but in other languages result would be undefined or NaN.
Advantag
There are n number of situation where we want to write complex query so It is very difficult to write complex query using Laravel.So to overcome such problem Laravel provide raw query option. The syntax of writing raw query is:-
Syntax:
DB::select(
In database, sometimes we have to insert the record with some NULL values. But at the time of displaying the data to the user, it doesn't make sense to display NULL values. In order to make the data more readable, we have to display values such as un