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 > Arrays and Matrices Code Examples

Display Largest Element of an array





C Codes Displays Largest Element of Array - This C Program takes n number of elements from user and stores it in array arr[]. To find the largest element, the first two elements of array are checked and largest of these two...

Add Two Matrix Using Multi-Dimensional - In this program, user is asked to entered the number of rows r & columns c. The value of r & c should be less than 100 in this program. Then, the program adds these two matrices,

C++ Language Passing Arrays to Function - In this C++ Code, we are passing 2 arrays a & b to the "function sum()". Function adds the "corresponding elements" of both the arrays and display them. This c++ function adds the

C++ Codes Generate Armstrong Numbers - To generate 'Armstrong numbers' in C++, you have to ask to the user to enter the interval to print the Armstrong number between a given interval as shown here in the following codes.

C Programming Codes Implement a Stack - C Program to ask the user for the operation like push, pop, display, exit. Use the variable top to represent the top of the stack and then according to the option entered, access its...

Code Find Largest of Three input numbers - C program to will prompt user to input three integer numbers and based on the input, it would compare and display greatest number as output. In this program number1, number2

Check Alphabet Digit or Special Character - Checking Alphabet, Digit or Special character using ASCII value. A character is alphabet if it in between a-z or A-Z. A character is digit if it is in between 0-9. And A character is special

Read and write Strings Printf() and Scanf() - Compare 2 strings, 'Concatenate Strings' and copy one string to another & perform various 'string manipulation operations'. We perform such operations using 'pre-defined' functions