Posts

Showing posts from May, 2022
  C Programs If you really want to learn programming then do attempt C programs before watching its solution. Do not give up too early, give time to yourself. When program is developed, you should dry run it to check its correctness. Now type the code in the editor, compile and run it. Hopefully outcome is no different from what you were expecting, otherwise your dry run was not done in proper manner. Finding mistakes in your program by yourself without compiling it is very important in skill development. Click on the solution link for the corresponding problem. Warm up Programs Write a program to add two numbers. Solution Write a program to calculate area of a circle. Solution Write a program to print your name at the center of the screen. Write a program which takes input as integers only that is restrict other characters from input Solution Elementary tricky programs How to print %d using printf in C language Solution Write a program to swap two numbers Solution...