Welcome To Tutorialspoint.dev
Officially launched 18th May 2019

# An Uncommon representation of array elements

Consider the below program. int main( ) { &#xA0;&#xA0;int arr[2] = {0,1}; &#xA0;&#xA0;printf(&quot;First Element = %d &quot;,arr[0]); &#xA0;&#xA0;getcha...

# How will you show memory representation of C variables?

Write a C program to show memory representation of C variables like int, float, pointer, etc. Algorithm: Get the address and size of the variable. Typecast the add...

# Prim’s MST for Adjacency List Representation Greedy Algo-6

We recommend to read following two posts as a prerequisite of this post. 1. Greedy Algorithms | Set 5 (Prim&#x2019;s Minimum Spanning Tree (MST)) 2. Graph and its rep...

# Dijkstra’s Algorithm for Adjacency List Representation Greedy Algo-8

We recommend to read following two posts as a prerequisite of this post. 1. Greedy Algorithms | Set 7 (Dijkstra&#x2019;s shortest path algorithm) 2.&#xA0;Graph and it...

# Digital Logic Binary representations

Binary is a base-2 number system that uses two states 0 and 1 to represent a number. We can also call it to be a true state and a false state. A binary number is bui...

# Floating Point Representation Digital Logic

1. To convert the floating point into decimal, we have 3 elements in a 32-bit floating point representation: &#xA0; &#xA0; i) Sign &#xA0; &#xA0; ii) Expone...

# Mathematics Representation of Boolean Functions

A Boolean function is described by an algebraic expression consisting of binary variables, the constants 0 and 1, and the logic operation symbols For a given set of ...

# Mathematics Representations of Matrices and Graphs in Relations

Previously, we have already discussed Relations and their basic types. Combining Relation: Suppose R is a relation from set A to B and S is a relation from set B to C...

# Binary representation of a given number

Write a program to print Binary representation of a given number. Recommended: Please solve it on &#x201C;PRACTICE&#x201D; first, before moving on to the solution. ...

# Check if binary representation of a number is palindrome

Given an integer &#x2018;x&#x2019;, write a C function that returns true if binary representation of x is palindrome else return false. For example a numbers with bin...