Array
- Print array elements
- Ascending/Descending Sort by Bubble Sort
- Ascending/Descending Sort by Selection Sort
- Biggest/Smallest Number
- Delete an element by position
- Remove duplicate element
- Insert an element
- Find prime numbers and print prime count
- Reverse an array element
- Sum of even and product of odd
- Square series and its sum
- Frequency of element in an array
- Stack using an array
Awesome Codes
- Implementation of atoi and atof
- Tic Tac Toe Game
- Return more than one value at a time
- Return value with void return type
- Size of data type without using sizeof operator.
BitWise
- Change case
- Check bit status
- Even Odd Checking
- Check for divisible by 8
- Positive/Negative Checking
- Power of 2 checking
- Check for an equal number
- Print float in binary
- Reverse bits of a number
- Set, clear and complement bit of a number
- Extract bits from a number
- Swap bytes
- Swap two numbers(8 Methods)
- Swap nibble by macro
- Merge char array to an integer
- Set, clear and complement bit of a number by macro
Control Statements
- Armstrong number and series
- Biggest from three number
- Calculator using switch
- Factorial of a number
- Fibonacci Series
- Table from 11 to 20
- Palindrome number
- Perfect number
- Power of a number
- Prime number
- 1’s and 2’s Complement
- The reverse of a number
- Switch case use
- Sum of digits
Command Line Arguments
- Find factorial of a number
- Count frequency of a character in a string
- Length of all command-line strings
- Single string length
- Print command-line arguments
- Simple calculation
- String compare
- Enhanced cp(copy) command
- cat command
- Check the presence of a file
- Create a file and add text at load time
Dynamic Memory Allocation
- Single Data Types
- Allocate memory for n data types
- n strings allocation
- Structure memory allocation
- n structure memory allocation
- 2D Array memory allocation
File Handling
- Capitalizing the first letter of each word
- Change case of each character(upper/lower)
- Implementation of cat command
- Implementation of cat command at load time
- Make duplicate files
- Create a file
- Create a file and add text to it
- Frequency of a character in a file
- Check the presence of a file
- Remove line
- Check the presence of a file at load time
- Replace the word with another word
- Reverse each word of a file
- Implementation of grep command
- Replace line
- Reverse content of a file
- Sort according to line length
- Implementation of sort command
- Merge two files into the third file
Function Pointer
HACKERRANK
- Apple and Orange
- Plus Minus
- Mini-Max Sum
- Compare the Triplets
- Timer Conversion
- Birthday Cake Candles
- Angry Professor
- Two Strings
- Game of Thrones – I
- Alternating Character
- Pangram string or not
- Breaking the Records
- Grading Students
Linked List, Stack & Queue
- Single Linked List Source Code
- Stack implementation
- Queue implementation
- Double Linked List Source Code
Macro
Recursive Functions
- Factorial of a number
- Divisors
- Sum of digits
- Reverse string
- Reverse number
- Reverse array element
- Fibonacci series
- Reverse bits
- Prime number
- Perfect number series
- Biggest from array number
- Palindrome series
- Number in words
Structure/Union
- Fill structure elements by function
- Passing structure variable to a function
- Array of structure
- Structure without name
- Size of a structure
- Nesting of a structure
- typedef of a structure
Strings
- Change case of a string(lower/upper)
- Sort string letters in ascending order
- Count number of words in a string
- Remove character from the string
- Replace character
- Copy string in one-line logic
- Count substring in the main string
- Remove duplicate character
- Remove consecutive spaces
- Sort strings according to its length
- Reverse words
- Reverse the order the words
- Count frequency of a character in a string
- Anagram string
- Alternate letter copy to another string
- Count capital, small, digit and special symbol
Sorting
Variable Length Arguments
- Biggest from arguments
- Sum of arguments
- Sum of arguments with stop (Alternative way)
- Sum of float arguments
- Use of va_copy
WarmUp
- Area and Perimeter
- Biggest from two number
- Count number of digits
- Check for leap year
- ASCII Code
- Float Printing
- Print Binary of a given number
- Hex/Octal Printing
- String printing
- Print string char by char
- Scan and print
- Scan string up to a certain character
- Structure printing
- Size, Range, Min/Max value and format specifier of the datatypes