You've successfully subscribed to The Poor Coder | Hackerrank Solutions
Great! Next, complete checkout for full access to The Poor Coder | Hackerrank Solutions
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.

C

Beeze Aal

Hackerrank Calculate the Nth term Solution

Objective This challenge will help you learn the concept of recursion. A function that calls itself is known as a recursive function. The C programming language supports recursion. But while using recursion, one needs to be careful to define an exit condition from the function, otherwise it will go into
Beeze Aal

Hackerrank Bitwise Operators Solution

Objective This challenge will let you learn about bitwise operators in C. Inside the CPU, mathematical operations like addition, subtraction, multiplication and division are done in bit-level. To perform bit-level operations in C programming, bitwise operators are used which are explained below. Bitwise AND operator &  The output of bitwise
Beeze Aal

Hackerrank For Loop in C Solution

Objective In this challenge, you will learn the usage of the for loop, which is a programming language statement which allows code to be repeatedly executed. The syntax for this is for ( <expression_1> ; <expression_2> ; <expression_3> ) <statement> expression_1 is
Beeze Aal

Hackerrank Conditional Statements in C Solution

.MathJax_SVG_LineBox {display: table!important} .MathJax_SVG_LineBox span {display: table-cell!important; width: 10000em!important; min-width: 0; max-width: none; padding: 0; border: 0; margin: 0} Objective if and else are two of the most frequently used conditionals in C/C++, and they enable you to execute zero or one
Beeze Aal

Hackerrank Pointers in C Solution

.MathJax_SVG_LineBox {display: table!important} .MathJax_SVG_LineBox span {display: table-cell!important; width: 10000em!important; min-width: 0; max-width: none; padding: 0; border: 0; margin: 0} Objective In this challenge, you will learn to implement the basic functionalities of pointers in C. A pointer in C is a way to
Beeze Aal

Hackerrank Functions in C Solution

Objective In this challenge, you will learn simple usage of functions in C. Functions are a bunch of statements glued together. A function is provided with zero or more arguments, and it executes the statements on it. Based on the return type, it either returns nothing (void) or something. A
Beeze Aal

Hackerrank Sum and Difference of Two Numbers Solution

Objective The fundamental data types in c are int, float and char. Today, we're discussing int and float data types. The printf() function prints the given statement to the console. The syntax is printf("format string",argument_list);. In the function, if we are using an integer, character, string or