Monthly Archives: December 2014

How to find Palindrome Number in C

Easy steps for finding the Palindrome Numbers #include <stdio.h> #include <conio.h> void main() { int num,r,sum=0; int temp; clrscr(); //starting of the program printf(“Enter the number from user=”); scanf(“%d”,&num); temp=num; while(num>0){   //starting of the loop r=num%10; sum=sum*10+r; num=num/10; } //here the value of num will be zero at last of iteration of loop //compare […]

First C Program

(This is based on Turbo C compiler) Q.Write a program in C to find the sum of the each digit of a given number #include<stdio.h> #include<conio.h> // if using Dev C compiler, then don’t need this header void main()              //starting of the main program { int num,sum=0,r;     […]

Posted in Uncategorized

C and C++ Tutorial comming soon

Dear Folks I am about to post the C and C++ Tutorials for Engineering,Management students. I will post the solutions of the questions which were asked in IOE,Purbanchal University, Pokhara University and Kathmandu University. Don’t panic! I am also addressing the problems of BBA and BIM. Please like me on Facebook,Twiter,Google+ or Linkedin.