Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


C Programming Code Examples

C > Pointers Code Examples

C Program to Compute sum of the array elements using pointers !





Find the Odd Element given an Array with - Will hold XOR of two odd occurring elements. Xor will basically be xor of two odd occurring elements. Get one set rightmost bit in the xor2. Now divide elements in two sets. XOR

Initializing the Members of a Class Using a - This C++ example uses a class that contains a constructor used to 'initialize the object'. The class is called ShoeBox. When supplied with a Length, a Height, a Width, the object should

Generate a Graph for Given Fixed Degree - This algorithm generates a undirected graph for the given "Degree Sequence". It does not include self-edge and multiple edges. So this algorithm 'takes the input' of the number of

Check Even or Odd number by switch case - Input number from user and check whether the number is even or odd using switch case. A number is said even number if it is exactly divisible by 2. In C we use Modulo operator...

Program code to Reverse a Given Number - Take the Number which you have to Reverse as the input. Obtain its quotient & remainder. Multiply the separate variable with 10 & add the obtained remainder to it. Do step 2 again

C StrnCat Concatenate n Characters of str2 - C function 'strncat' concatenates n characters of str2 to string str1. Program concatenates n characters of str2 to string str1. A 'terminator' char ('\0') will always be appended at the end

C Program code Simple Account software - Enter the Name of the Custumer. Enter the Acc.no of the Custumer. Enter the Balance of the Custumer. Enter the name of Customer whose rec. is to be modified. Enter the new

CGI Programs using C++ in Programming - CGI stands for common gateway interface is set of standards that define how information is exchanged from a 'webserver', passing the web user's request to an application program