Print alternate element in an Array Print alternate element in an Array Code : #include<stdio.h> int main(){ int n; printf(“Enter size […]
Read moreAuthor: Astha Gaur
Transpose of matrix in 2d Array
Transpose of matrix in 2d Array Transpose of matrix in 2d Array Q. Write a program to print the transpose of the matrix entered […]
Read moreSwapping 2 elements of Array
Swapping 2 elements of Array Swapping 2 elements of Array #include<stdio.h> void swap ( int arr[ ] ); int temp= arr [0]; arr [0] […]
Read moreProgram in Switch Statement
Program in Switch Statement Program in Switch Statement Switch statements : Switch case statements can be used to execute the condition code based on the […]
Read moreSum of all Elements in Array
Sum of all Elements in Array Sum of all Elements in Array The sum of all elements in the array : #include<stdio.h> int main() […]
Read moreFlowchart
Flowchart Flowchart Flowchart are nothing but the graphical representation of the data or the algorithm for a better understanding of the code visually. It […]
Read moreAlgorithm
Algorithm Algorithm Before coding a program , the user needs to write the step by step procedure which is known as an Algorithm. “Algorithm is […]
Read moreSwaping of 2 numbers
Swapping of 2 numbers Swapping of 2 numbers #include<stdio.h> int main() { int a ; printf(“Enter a : “); scanf(“%d,&a); int b ; printf(“Enter […]
Read morePrograms in C language
Programs in C language Programs in C language Ques 1: Write a program to find out whether it is an odd number or even […]
Read moreRight Triangle Star Pattern
Right Triangle Star Pattern Right Triangle Star Pattern #include<stdio.h> int main(){ int n; printf(“Enter number\n”); scanf(“%d”,&n); for(int i=1; i<=n; i++) { for(int j=1; j<=i; […]
Read more
Recent Comments