Ankith Reddy has Published 1070 Articles

How to draw close shape in android?

Ankith Reddy

Ankith Reddy

Updated on 27-Jun-2020 06:46:17

293 Views

 This example demonstrate about How to draw close shape in android.Step 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.     In the above ... Read More

How to multiply a given number by 2 using Bitwise Operators in C#?

Ankith Reddy

Ankith Reddy

Updated on 27-Jun-2020 06:43:29

4K+ Views

A number can be multiplied by 2 using bitwise operators. This is done by using the left shift operator and shifting the bits left by 1. This results in double the previous number.A program that demonstrates multiplication of a number by 2 using bitwise operators is given as follows.Example Live Demousing ... Read More

History of Microprocessor

Ankith Reddy

Ankith Reddy

Updated on 26-Jun-2020 15:01:17

15K+ Views

Fair child semiconductors (founded in 1957) invented the first Integrated Circuit in 1959 that marked the microprocessor history. In 1968, Gordan Moore, Robert Noyce and Andrew Grove resigned from the Fair child semiconductors and started their own company: Integrated Electronics (Intel). In 1971, the first microprocessor Intel 4004 was invented. ... Read More

How to find edit text values start from Alphabet or Not?

Ankith Reddy

Ankith Reddy

Updated on 26-Jun-2020 14:45:20

322 Views

This example demonstrate about How to find edit text values start from Alphabet or Not.Step 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 access elements of an array using pointer notation in C#?

Ankith Reddy

Ankith Reddy

Updated on 26-Jun-2020 14:43:07

571 Views

Usage of pointers in C# require the unsafe modifier. Also array elements can be accessed using pointers using the fixed keyword. This is because the array and the pointer data type are not the same. For example: The data type int[] is not the same as int*.A program that demonstrates ... Read More

How to get signal strength in android?

Ankith Reddy

Ankith Reddy

Updated on 26-Jun-2020 14:40:41

3K+ Views

This example demonstrate about How to get signal strength in android.Step 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.     In the above ... Read More

How to get information about mobile supports in whole world or not in android?

Ankith Reddy

Ankith Reddy

Updated on 26-Jun-2020 14:35:01

51 Views

This example demonstrate about How to get information about mobile supports in whole world or not in android.Step 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 ... Read More

How to get device id in android?

Ankith Reddy

Ankith Reddy

Updated on 26-Jun-2020 14:30:39

1K+ Views

This example demonstrate about How to get device id in android.Step 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.     In the above ... Read More

Heap Sort in C#

Ankith Reddy

Ankith Reddy

Updated on 26-Jun-2020 14:27:51

2K+ Views

Heap Sort is a sorting algorithm that makes use of the heap data structure. Each time the root element of the heap i.e. the largest element is removed and stored in an array. It is replaced by the rightmost leaf element and then the heap is reestablished. This is done ... Read More

Why array index starts from zero in C/C++ ?

Ankith Reddy

Ankith Reddy

Updated on 26-Jun-2020 14:18:25

6K+ Views

An array arr[i] is interpreted as *(arr+i). Here, arr denotes the address of the first array element or the 0 index element. So *(arr+i) means the element at i distance from the first element of the array. So array index starts from 0 as initially i is 0 which means ... Read More

Advertisements