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 > Beginners Lab Assignments Code Examples

Function call by value in C programming

Cube Root of a Number in C++ Language - To find 'cube root of any number' we need to find 0.3 power of any number. if you need to find cube root of 27 then calculate 0.3 power of 27, result is 3. So another method for this

C Code Find Reverse of String by Pointers - Input a 'string from user', store it in a variable say str. 'Declare another Array' that will store 'reverse of the string', say char reverse[SIZE]. Find Length of the string and store it in some

Learn Bitwise Operators in C++ Language - in C++, "bitwise operators" are similar to the Logic operators, but they perform the same logical operations on bits. All data in memory is represented in the "binary form". Variables

C Program to displaying Day of the Month - C programming code to implement calender. Program example to display day of month. Program will accept year, month and date from the user and will display the day of the

Check Whether Number is Strong Number - How to check Strong Numbers using loop in C. What is Strong number? Strong number is a special number whose sum of factorial of digits is equal to the original number. 145 is

Find Length of Strings Without use Library - Its easier to find the length of the string using given library function, but in this program we are finding the "Length of the String" without using Library Function. In the above program

Swapping numbers Function Call by Value - Before we discuss function call by value, lets understand the terminologies that we'll use while explaining this: Actual parameters: The parameters that appear in function calls and

C++ Return the Structure from a Function - In this C++ example, we have "two functions" one gets the values from user, assign them to structure members and returns the structure and the other function takes that structure as