The Q&A Community for Students

MindStudy, question and answer site designed to help students, to help each other:
To ask, to learn, to share, to grow.

Ask Questions

Get the right answers. Fast

Answer Questions

Submit answers for community.

Be Somebody's Hero

Pat yourself on the back. You deserve it.

All Questions

542 questions

1095 views

Write a C- Program To Determine If The Given String Is A Palindrome Or Not.

#include <stdio.h> #include <conio.h> main() { int i,n,j,len=0; char str[30]; clrscr();

Super Admin
added 3 years ago
1123 views

Write a C Program That Uses Functions To Delete N – Charactres From A Given Position In A Given String.

#include <stdio.h> #include <conio.h> void del_str(char [],int, int); main() { int n,p; char str[30]; clrscr();

Super Admin
added 3 years ago
1109 views

Write a C-Program That Uses Functions To Insert A Sub-String In To A Given Main String From A Given Position.

/* Declaring C-Libraries */ #include <stdio.h> #include <conio.h> /* Declaring function prototypes */ void ins_substr(char [], char [], int, int);

Super Admin
added 3 years ago
1142 views

Write a C program to find both the largest and smallest number in list of integers.

#include <stdio.h> #include <conio.h> void main() { int i,n,small=0,large=0; int a[30]; clrscr(); printf("\n Enter size of the array:"); scanf("%d",&n);

Super Admin
added 3 years ago
1135 views

Write a C program to find sum of digit of any no.

#include<stdio.h> #include<conio.h> main() { int n,digit,sum=0; printf("\n enter any number"); scanf("%d",&n);

Super Admin
added 3 years ago
1246 views

Write a C program to check a year is leap year or not.

#include <stdio.h> #include <conio.h> main() { int y; printf("\n enter any year"); scanf("%d", &y);

Super Admin
added 3 years ago
1115 views

Write a C program to print the following output.

1 

2   2

3   3   3

4   4   4   4

5   5   5    5   5

#include<stdio.h> #include<conio.h> main() { int n,i,j; printf("\n enter hou meny lines"); scanf("%d",&n);

Super Admin
added 3 years ago
1109 views

Write a C program to check a number is even or odd.

#include<stdio.h> #include<conio.h> main() { int n; printf("\n enter any number"); scanf("%d",&n);

Super Admin
added 3 years ago
1100 views

Write a C program to manage array operation using switch case.

#include<stdio.h> #include<conio.h> #include<dos.h> void main() { int a[100]={12,45,41,96,32},i,j,m,n,p; clrscr(); printf("\n\n\t*** Proceed according to the instruction ***");

Super Admin
added 3 years ago
1122 views

Create a Sparse Matrix in C.

#include<stdio.h> #include<conio.h> #define MAX1 3 #define MAX2 3 struct sparse { int *sp; int row; };

Super Admin
added 3 years ago