Here's a C program to find sum of positive and negative elements of an array in C using for loops and IF-Else condition.
Showing posts with label Arrays in C. Show all posts
Showing posts with label Arrays in C. Show all posts
Sunday
Saturday
Program to Change an Integer to Words in C | C Program
Here's a C program to change an integer to words with output and proper explanation. This program makes use of C concepts like For loop, While loop, Arrays, Switch Case, Break and Modulus.
Sunday
Program to Find Length of String in C
Here's a C program to find the length of the given string with output and explanation. This program makes use of C concepts like For loop and gets Function in C.
Friday
Program to Convert Uppercase Characters to Lowercase in C
Here's a C program to convert uppercase characters to lowercase with output and proper explanation. This program uses C concepts like While Loop, Strings in C, Gets Function and Putchar Function.
Tuesday
C Program to Find Maximum and Minimum of Array Elements using Pointers
Here's a C program to find maximum and minimum value stored in an integer array using a function that takes pointer as arguments. This program uses C concepts like Array in C, Call by Reference and Pointer in C.
Thursday
Program to Display Negative Elements of the Array in C | C Program
Here's a C program to display only the negative elements of the array using for loops and IF conditions.
Monday
Program to Display Positive Elements of the Array in C | C Program
Here's a C program to display only the positive elements of an array using for loops and IF conditions.
Saturday
What is gets Function in C with Syntax and Example
This function "gets" reads a whole line of input from standard input (stdin) into a string until a newline or EOF (End-of-File) is encountered. It is critical to ensure that the string is large enough to hold any expected input lines.
Friday
C Program to Find Whether a Given Matrix is Unit Matrix or Not
Here's a C Program to find the given matrix is a unit matrix or not with proper explanation and output. This program uses Break, Multidimensional Arrays, Nested Loops and For Loops.
C Program to Find the Sum of Lower Triangular Matrix Elements
Here's a C Program to find the sum of lower triangular elements of a matrix with explanation and example. This program uses Multidimensional Arrays, Nested Loops and For Loops.
C Program to Find the Sum of Upper Triangular Matrix Elements
Here's a C Program to find the sum of upper triangular elements of a matrix with explanation and example. This program uses Multidimensional Arrays, Nested Loops and For Loops.
Thursday
C Program to Enter and Printing Values in a Matrix
Here's a C program to enter values in a matrix and print values in a matrix using For Loops and Nested Loops with output and explanation.
Tuesday
Program to Generate Permutation of String in C | C Program
Here's a C program to generate permutations of a string with output. This program makes use of C concepts like Array, For loop, IF-Else Condition, Recursion and String Functions like string copy (strcpy()) and string length (strlen()) functions etc.
Wednesday
Simultaneous Equation using Gauss Elimination Method in C | C Program
Here's a C program for solving simultaneous equation using Gauss elimination method using for loops with output. This program uses Array, For Loops and Nested Loops.
Saturday
Convert Decimal Number to Binary Number in C | C Program
Here's a C program to convert a decimal number to a binary number with output and proper explanation. This program makes use of C concepts like For loop, While loop, Arrays and Modulus.
Wednesday
Program to Read and Reverse an Array in C | C Program
Here's a C program to read and reverse an array. This can easily be done with the help of for loop. This program uses C concepts like For Loop in C, Auto Incrementing Operator ++ and Auto Decrementing Operator --.
Saturday
Program to Find the Day of the Given Date in C | C Program
Here’s a C program to find the day of the given date with output and proper explanation. The program takes as input a formatted date and returns the day on that date. This program makes use of single and multidimensional arrays, for loop and string function - strcpy() (string copy).
Subscribe to:
Posts (Atom)
Labels
C Program Examples
For Loops
C Aptitude Questions
C Interview Questions with Answers
If Else in C
Nested Loops
Arrays in C
Modulus in C
While Loop
C Programming Tips
If in C
Arithmetic Operations
Auto Incrementing Operator ++
Break
C Programming Facts
Strings in C
C Concepts
Matrix in C
Float Data Type
Power Function pow()
Switch Case
gets Function in C
Entering Value in a Matrix
String Functions
C Operators
C++ Interview Questions with Answers
Continue in C
String Copy strcpy()
Trigonometry Examples
Auto Decrementing Operator --
CTYPE.H Header File in C
Division in C
Fibonacci Series
For Loop with No Body
GOTO Statement
Pointer in C
Sorting
String Length strlen()
Ternary Operator
Two Dimensional Arrays in C
Type Casting in C
Using Arrays as Pointers in C
Using Pointers as Arrays in C
C Header Files
Constructor
Destructor
Do While Loop
Finding Day of Given Date
Finding Leap Year
User Defined Functions in C

