Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
C C-Pointers C

An Uncommon representation of array elements

Consider the below program. int main( ) {   int arr[2] = {0,1};   printf("First Element = %d ",arr[0]);   getcha...
C c-puzzle C

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...
Graph Greedy MST

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’s Minimum Spanning Tree (MST)) 2. Graph and its rep...
Graph Greedy Dijkstra

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’s shortest path algorithm) 2. Graph and it...
Digital Electronics & Logic Design GATE CS School Programming

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...
Digital Electronics & Logic Design

Floating Point Representation Digital Logic

1. To convert the floating point into decimal, we have 3 elements in a 32-bit floating point representation:     i) Sign     ii) Expone...
Digital Electronics & Logic Design Engineering Mathematics GATE CS

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 ...
Engineering Mathematics GATE CS

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...
Bit Magic Microsoft Microsoft

Binary representation of a given number

Write a program to print Binary representation of a given number. Recommended: Please solve it on “PRACTICE” first, before moving on to the solution. ...
Bit Magic Mathematical binary-representation

Check if binary representation of a number is palindrome

Given an integer ‘x’, write a C function that returns true if binary representation of x is palindrome else return false. For example a numbers with bin...

Subscribe to Our Newsletter