Chandu yadav has Published 1163 Articles

Priority of AND and OR operator in MySQL select query?

Chandu yadav

Chandu yadav

Updated on 06-Aug-2021 21:41:51

981 Views

The AND has the highest priority than the OR operator in MySQL select query.Let us check how MySQL gives the highest priority to AND operator.The query is as followsmysql> select 0 AND 0 OR 1 as Result;The following is the output+--------+ | Result | +--------+ | 1     | ... Read More

Binary Search in C++

Chandu yadav

Chandu yadav

Updated on 28-Jun-2021 05:55:17

17K+ Views

Binary Search is a method to find the required element in a sorted array by repeatedly halving the array and searching in the half.This method is done by starting with the whole array. Then it is halved. If the required data value is greater than the element at the middle ... Read More

Basics of File Handling in C

Chandu yadav

Chandu yadav

Updated on 18-Nov-2020 05:06:31

914 Views

Here we will see some basic file handling operations in C. The operations are listed below:Writing into a FileReading from FileAppending in a FileWrite into a fileSee the code to get the idea how we write into a fileExample Code#include int main() {    FILE *fp;    char *filename ... Read More

Defining internet of things iot for businesses

Chandu yadav

Chandu yadav

Updated on 07-Jul-2020 07:32:34

210 Views

In today’s world, the biggest technology trend is the ‘Internet of Things (IoT);’ and true enough it is defining our lives, the way we work; shaping and influencing businesses, and governments too. It is the ‘next big thing’ or is simply being termed as a revolution/progression of the web, and ... Read More

Show the flex lines with equal space between them

Chandu yadav

Chandu yadav

Updated on 06-Jul-2020 11:42:28

158 Views

Use the align-content property with value space-between to add space between the flex lines.ExampleYou can try to run the following code to implement the space-between valueLive Demo                    .mycontainer {             display: flex;         ... Read More

Wrap the flex items in reverse order with CSS

Chandu yadav

Chandu yadav

Updated on 06-Jul-2020 10:59:44

1K+ Views

Use the flex-wrap property with wrap-reverse value to wrap flex-items in reverse order.ExampleYou can try to run the following code to implement the wrap-reverse valueLive Demo                    .mycontainer {             display: flex;         ... Read More

Usage of CSS grid-auto-rows property

Chandu yadav

Chandu yadav

Updated on 04-Jul-2020 08:00:41

87 Views

Use the grid-auto-rows property to set size for the rows.ExampleYou can try to run the following code to implement the grid-auto-rows property −Live Demo                    .container {             display: grid;             grid-auto-rows: 50px;             grid-gap: 10px;             background-color: red;             padding: 10px;          }          .container>div {             background-color: yellow;             text-align: center;             padding:10px 0;             font-size: 20px;          }                              1          2          3          4          5          6          

How do I add Vibrate and sound for Notification in Android?

Chandu yadav

Chandu yadav

Updated on 03-Jul-2020 08:01:46

1K+ Views

This example demonstrate about How do I add Vibrate and sound for Notification in AndroidStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

How to create a transition effect with CSS?

Chandu yadav

Chandu yadav

Updated on 02-Jul-2020 08:08:02

160 Views

To create a transition effect, set the property for the transition effect. With that also set the duration of effect.transition: height 5s;You can try to run the following code to create a transition effectExampleLive demo                    div {     ... Read More

Set a border around navbar with CSS

Chandu yadav

Chandu yadav

Updated on 01-Jul-2020 10:54:41

7K+ Views

To add a border around navbar, set border to ul {    border: 2px solid blue; }ExampleYou can try to run the following code to set borderLive Demo                    ul {             list-style-type: none;   ... Read More

Advertisements