
Search In
The strcmp is a string function in php which compares the two strings. strcmp is a binary-safe and case-sensitive function.This means the comparison is case sensitive.
The syntax of strcmp:
strcmp(string1,string2)
Here, the string1 is the one wh
If you want to get an array which contain all the entries of an array and have keys that are present in some other arrays for this you can use a predefined function array_intersect_key ( array $array1 , array $array2 [, array $... ] ).
array_inters
What is Fibonacci Series ?
Fibonacci succession arrangement or group of the numbers beginning with zero or one followed by a one, and carry on with rule that number is equivalent to the sum of prior 2 numbers.
Fibonacci series is denoted by f(n)
Eg
Check the rows of column is either greater than zero or not
Use function DefaultView
Pass the parameters true for distinct, and create new string for giving columns
if (dt1.Rows.Count > 0)
{
DataTable dt2 = dt1.DefaultView.ToTabl
# include <stdio.h>
# define NO_OF_CHARS 256
bool areAnagram(char *str1, char *str2) //function checks whether two strings are anagrams.
{
// Create 2 count arrays and initialize all values as 0
int count1[NO_OF_CHARS] = {0};
int
Readonly keyword
Readonly: Readonly is a keyword which when used with a variable then the value of that variable can only be changed either at runtime or at the time of the instance initialization. The value is assigned to these variable when they
Hello readers, Well all love to play games whether a child or an adult. So here in my blog I have tried to create a game which we all have played in his/her life in their childhood days.
So, I have created it using CSS properties , hope you
To remove a list element, you can use either the del statement if you know exactly which element(s) you are deleting or the remove() method if you do not know. For example −
#!/usr/bin/python
list1 = ['physics', 'chemistry', 1997, 2000];
print lis
How to swap or exchange objects in Java?
Wrapper Class can be used to swap or exchange objects in Java.
A Java program using wrapper classes to swap objects.
class Employee
{
int empno, salary;
Car(int empno, int salary) //Parameterized
Hello reader,
In this blog we will discuss about,
how to manage font size in different viewport.
Usually we fix the font size with different viewport size using @media.
But as we know CSS3 has some new values. Viewport size: vw, vh, and vmin are on
