Spread the love

CC++CODES

  1. How to swap two numbers without using a temporary variable?
  2. Count number of 1s in given binary number
  3. Functions that are executed before and after main( ) in C
  4. Swap two nibbles in a byte
  5. How to turn off a particular bit in a number?
  6. Check if a number is multiple of 9 using bitwise operators
  7. How to write a running C code without main()?
  8. How to pass a 2D array as a parameter in C?
  9. Print a long int in C using putchar() only
  10. How to dynamically allocate a 2D array in C ?
  11. Find position of the only set bit
  12. Write your own strcmp
  13. Binary representation of a given number
  14. Add two numbers without using arithmetic operators
  15. Smallest of three integers without comparison operators
  16. Simulation of Ethernet in C++
  17. Program to create Inverted triangle shape in c++ code
  18. Write a C++ program to Make a Calculator
  19. TIC-TAC-TOE C++
  20. Drawing house line by line in C++ Programming using Graphics.h
  21. Computer program to draw Luddo Board in C++ Programming using Graphics.h
  22. What is the best way in C to convert a number to a string?
  23. Print “Even” or “Odd” without using conditional statement
  24. Interesting Facts about Macros and Preprocessors in C/C++
  25. C/C++ program to shutdown or turn off computer
  26. C program to determine which mouse button is clicked
  27. Using assert in c ( Exception handling in c )
  28. Why people don’t like Programming
  29. Memory Layout of C Program
  30. Function Pointers in C/C++
  31. Find middle number out of three numbers
  32. Write a C program to reverse the string without using strrev() ?
  33. Write a C program to reverse the words in a sentence in place
  34. Write a C program to calculate power(x,n)
  35. Write a c program to find fibonacci series
  36. Write a C program which does wildcard pattern matching algorithm
  37. Write a c Program to convert Decimal to Hexadecimal number
  38. Write C code to dynamically allocate one, two and three dimensional arrays (using malloc())
  39. Difference between typedef and #define
  40. Difference between macro and inline in c
  41. Write your own trim() or squeeze() function to remove the spaces from a string
  42. Write your own C program to implement the atoi() function
  43. Write your own printf() function in c
  44. Convert decimal number into hexadecimal octal binary – single universal logic
  45. Write a Macro’s Set,clear and toggle n’th bit using bit wise operators?
  46. Write a C program to convert Little endian to Big endian integer
  47. Write a program to implement XOR functionality with out using XOR(^) operator
  48. How can I write a function that takes a variable number of arguments? What are the limitations with this? What is vprintf()?
  49. How can I convert numbers to strings (itoa() function)?
  50. How to do AES-128 bit CBC mode encryption in c programming code with OpenSSL
  51. How to do Triple-DES CBC mode encryption example in c programming with OpenSSL
  52. What’s the use of fopen(), fclose(), fprintf(), fscanf(), feof(), fseek(), rewind(), fread(), fwrite(), fgets(), fputs() ?
  53. Sorting Algorithms in C
  54. What are practical uses of function pointers in c ?
  55. Write a C program to increment number without using + sign
  56. Write down the program to tell whether the stack is growing in which direction in memory
  57. Write a program to reverse a string using stack in c++
  58. Write a program to reverse a linked list using stack in c++
  59. Write a program to check for balanced parentheses in an expression in c++
  60. C program for binary search
  61. Write a c program to implement a queue using array and linked list
  62. Write a c program to implement a stack using an array and linked list
  63. C Program to Print all the Repeated Numbers with Frequency in Array
  64. C program to find the middle node of a linked list
  65. Write C code to implement the strstr() function to search for a substring
  66. Delete node in linked list without head pointer and traversing
  67. C program to sorting a singly linked list
  68. Difference between const char *p, char const *p and char *const p
  69. Volatile keyword in c language and embedded system
  70. C Program to convert Binary number to Decimal
  71. C Program to Display its own Source Code as its Output
  72. structure padding and packing in c example
  73. C Program to find whether a number is even or add without using arithmetic operators
  74. Floating Point Representation in Memory.
  75. Features of Modern C++