
Search In
INSERT ALL Statement:
With the help of INSERT ALL statement we can add multiple rows with a single INSERT statement. We can use this statement to insert multiple rows in one or more than one tables. It eliminates the need of writing insert statement
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
Dynamic memory allocation allows the C programmer to allocate memory at runtime. Dynamic memory allocation in C is possible by 3 functions of stdlib.h header file.
malloc()
calloc()
free()
malloc() function
The malloc() function allocates single
Hello Readers!
On a given string if you want to take out the first n number of characters from it then PHP offers you 'substr' to get the characters.
Consider an example below:-
Suppose I want to get the first 5 characters from string, $MyString
$M
Sorting inside Linklist:- This Blog will show you, how to create a sorted linklist.
By using that can achieve the Sorting inside our Linklist. The Element will Enter inside Linklist in Sorted Manne.
#include<stdio.h>
#include<conio.h>
#
The function that returns a value based on a condition is MYSQL IF function. Hence MYSQL IF function is one of the control flow functions.
The syntax of the MySQL IF function is as follows:
IF(expr,if_true_expr,if_false_expr)
For example, If we h
Hello Reader's If you want to genrate password in PHP then you can use the code as below:-
you just have to try this, use strlen instead of count, because count on a string is always 1:-
function randomPassword() {
$alphabet = 'abcdefghijklmnop
INSERT IGNORE:
INSERT IGNORE is used for handling duplicacy in a table as it ignores the query if the data is already present in the table and if the data does not exist then new row will be inserted.
Syntax:
INSERT IGNORE INTO tablename (column1,
This tutorial will help you to generate a PDF file in Android. Follow below steps to generate PDF file.
Step 1 :- First download .jar files from following URL and put it into your application's libs folder.
Download URL:- https://www.dr
Hi there,
Here in this blog I am going to provide Java implementation of Fisher-Yates Algorithm for array shuffling. Fisher–Yates shuffle algorithm as named after Ronald Fisher and Frank Yates. It is also known as Knuth shuffle.