/code_ghost

This repo contains a list of programs implemented in C. Please refer the README file for the list of questions.

Primary LanguageCGNU General Public License v3.0GPL-3.0

code_ghost

Questions

  1. Dynamically allocating memory to a 2D array.
  2. Reversing a line.
  3. Program to set, clear and toggle the nth bit in a given integer.
  4. Check whether the current machine is little-endian or big-endian?
  5. Implement sizeof operator.
  6. Function to remove duplicates from an integer array.
  7. Implement Linked list in C.
  8. Reverse a Linked list.
  9. Function to check whether the given Linked list is palindrome or not.
    a. Using stack (Two times traversal).
    b. By reversing linked list (Reverse half of the linked list and compare).
  10. Search for a word in a line.

***Open for reviews and suggestions.