# C Programming Code Examples

## C > Functions Code Examples

### Program to find maximum in array elements using recursion and conditional operator

```
```

```
```

C Least Significant Bit (LSB) of a number is - C program code input any number from user and check whether the Least Significant Bit (LSB) of the given number is set (1) or not (0). How to check whether the least significant...

C++ Programs For Inorder Tree Traversal - C++ program, without recursion, displays the nodes of a "Particular Binary Tree" in inorder fashion without using recursive traversal. So Enter value of root node. Enter value of node

Convert the Content of File to UpperCase - If the status returned is 0 then the coversion of file content was completed successfully. If the status returnes is -1 then the conversion of file content was not done. Convert the file

Implementation for Top-Down Splay Tree - Finding the smallest item in the tree. Not the most efficient implementation ('two passes'), but has correct "amortized behavior". A good alternative is to first call Find with parameter

Code Count Frequency of Digits in Integer - Logic to find frequency of digits in a number. Input a number. Store it in some variable say j. Declare and initialize an array of size 10 to store frequency of each digit. Why declare...

Representation of Graph by Incidence List - This algorithm takes the input of the number of 'vertex and edges'. Then it takes the input of connected vertex pairs. Print the incidence list representation of the graph. And for each

C Convert Binary to Octal Number System - In C program user is asked to enter the binary number and the program then converts that binary number to the octal number by calling a user defined function. To understand this...