These are considered essential for coding tests and technical rounds.
Check given number is perfect number or not.
Check given number is Armstrong number or not.
Check given number is prime number or not.
Check given number is strong number or not.
Check a number is odd or even.
Check given number is palindrome number or not.
Check given string is palindrome or not.
Solve quadratic equation.
Print Fibonacci series of given range.
Get factorial of given number.
For Floyd’s triangle.
Print Pascal triangle.
Generate multiplication table.
Print ASCII value of all characters.
Print hello world without using semicolon.
Program which produces its own source code as its output.
C Program with Numbers
This section focuses on various numerical manipulations.
Reverse any number.
Find out sum of digit of given number.
Find out power of number.
Add two numbers without using addition operator.
Subtract two numbers without using subtraction operator.
Find largest among three numbers using binary minus operator.
Find largest among three numbers using conditional operator.
Find out generic root of any number.
Find out prime factor of given number.
Find out NCR factor of given number.
Convert string to int without using library functions.
Program to print 1 to 100 without using loop.
Program for swapping of two numbers.
Program to find largest of n numbers.
Split number into digits.
Count number of digits in a number.
C Program with Recursion
Recursion is presented with examples of its application.
Examples of recursion in C programming (general topic).
Find factorial of a number using recursion.
Find GCD of two numbers using recursion.
Find out sum of digits of a number using recursion.
Find power of a number using function recursion.
Reverse any number using recursion.
Reverse a string using recursion.
Binary search using recursion.
C Program with L.C.M and H.C.F.
This section covers computations of Least Common Multiple and Highest Common Factor.
Find out L.C.M. of two numbers.
Find out H.C.F. of two numbers.
Find out G.C.D. of two numbers.
C Program with Swapping
Various methods of swapping values are included.
Swap two numbers.
Swap two numbers without using third variable.
For swapping of two arrays.
For swapping of two string.
C Program with Conversion (Number System)
Comprehensive tasks for converting numbers between different bases are listed.
Convert decimal number to binary number.
Convert decimal number to octal number.
Convert decimal number to hexadecimal number.
Convert octal number to binary number.
Convert octal number to decimal number.
Convert octal number to hexadecimal number.
Convert hexadecimal number to binary number.
Convert hexadecimal number to octal number.
Convert hexadecimal number to decimal number.
Convert binary number to octal number.
Convert binary number to decimal number.
Convert binary number to hexadecimal number.
For addition of binary numbers.
For multiplication of two binary numbers.
Fractional binary conversion from decimal.
For fractional decimal to binary fraction conversion.
Convert decimal number to roman.
Convert roman number to decimal number.
Convert each digits of a number in words.
Convert currency or number in word.
C Program with Conversion (Unit)
Unit conversion.
…till next post, bye-bye & take care.
No comments:
Post a Comment