Tag: cpp

cpp

What is the Use of Function Overloading in C++?

What is the use of function overloading in C++? Why is it important? Explained with example.

cpp

C++ or Python | Which Programming Language Deserves More Praise?

What is Differences Between C++ And Python? Advantages Of Python and CPP. Use of programming language.

bit manipulation

Divide and Multiply a number by Two using Bitwise Operator (Without ‘*’, ‘/’)

Write a C/C++ program to divide or multiply a number by two using bitwise operator? Solve it without ‘/’ and ‘*’.

Code

C++ Program to Find the nth Bit of Number (Bit Masking)

Write a program to find the nth bit of number? Check if the ith bit is set or not using bit masking.

bit manipulation

C++ Program to Check Odd or Even Number without using Modulo

Write a C++ Program to check odd or even number without using modulo operator. Use logical AND operator to find out odd and even number.

Code

Write a Program to Find the Median of Array (by Sorting)

Write a program to find the median of array? C/C++, Java, Python code explained with array example.

Code

Write a Program to Find the Transpose of a Matrix

Write a program to find the transpose of a matrix in C/C++, Java and Python. Code explained with array example.

Code

Second Largest/Smallest Number in Array in C/C++, Java and Python

Write a program to find the second smallest number in array in C/C++, Java and Python. Second largest element in list.

Code

Find the Smallest and Largest Number in Array in C/C++, Java and Python

Write a program to find the smallest and largest number in the array. Code written in C/C++, Java and Python.