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

INTERVIEW QUESTIONS C





C Nth Fibonacci Numbers using Recursion - Prints the Fibonacci of a given number using recursion. In fibonacci series, each number is the sum of the two preceding numbers. 0, 1, 1, 2, 3, 5, 8, ... The following program returns

Check whether a number is Prime number - Prime numbers are positive integers greater than 1 that is only divisible by 1 and self. For example: 2, 3, 5, 7, 11 etc... C program input number and check whether the number is...

C Code Check if an Integer is Odd or Even - C Language Program takes the given integer & checks whether the integer is odd or even. Take the integer to be checked as input. Find the remainder of the integer by dividing it by

C Programming Recursive Directory Walk - Declare the object is a file, declare directory, declare directory that could not be read, symbolic link, The object is NOT a symbolic link and is one for, which stat() could not be

C++ Code Sample Preprocessor Directives - There are different "Preprocessor Directives" that perform different tasks. Lets categorize preprocessor directives. Inclusion directives: "#include": specifies the files to be included,

C Language Code Formula of Permutation - Permutation refers number of ways in which set members can be Arranged or Ordered in some fashion. The 'Formula of Permutation' of arranging k elements out of n elements is

Chess for two humans C Graphic Program - Draw vertical lines of the chess board Draw the horizontal lines of the chess. Knight's moves are not affected if some entity lies in the way. It just jumps over them. Atmost only

Displaying the Inventory of Items in Store - C Program display the inventory of items in a store. accepts the value of item name, item code, price, quantity & manufacture date. Then display those value in a structured way.