
Search In
ncr means : combination in terms of mathematics.We have to find out the perfect combination of given values.
In the mathematics nCr has defined as nCr = n! /((n-r)! * r!)
#include
int main(){
int n,r,ncr;
printf("Enter any two n
Nesting is used to style your structure of the stylesheet that matches the HTML structure of the page to reduce the chance of conflicts.
Example:-
ul{
background-color: #03A9F4;
padding: 10px;
list-style: none;
li{
background-color: #f
When you are working as a social media marketer for Google Plus and have just created a brand page on Google plus account for promoting your product or service then you may have encountered an issue o
Hello Reader's If you have some arguments that you want to pass into function and elements of that array you pass will then be received by your function as distinct parameters.
For instance, if you have this function :
function test() {
var_dump(
ELT(N,str1,str2,str3,...)
The MySQL ELT function is used for get the Nth element of all listed arguments in the function. The first argument is used for which number of element you want to get. In the argument list the if N = 1 then return str1 and
Hello Friends,
If you want to compare two array with respect to keys not values then you can use a predefined PHP function "array_diff_key()". array_diff_key function compares the keys from array1 against the keys from array2 and returns the differe
The slice() method extracts a substring and returns a new string.
The syntax for slice() method is −
string.slice( firstindex [, endindex] );
firstindex : -The zero-based index at which to begin extraction.
endindex : -The zero-based index at whi
A layout of a webpage plays an important role in providing a good look to our webpage. A good,attractive and beautiful design can be provided only by a person having good creativity skills that's why designing part of a website is not a easy task. A
In SQL we have situations, where we want to manipulate our data based on conditions .
For doing that one approach we need is to store that data into temp table then manipulate it.
For doing this we copy the entire structure of the main table in
How to check an Ajax request:
I am writing this blog specially for beginners who are learning Cakephp. In order to check whether the request is through Ajax or not. This can be checked by enabling the RequestHandler component in AppController or ena
