Saturday, March 22, 2014
Friday, March 21, 2014
Monday, March 17, 2014
Find Maximum Element In Array
#include <stdio.h>
#include <conio.h>
int main()
{
int array[100], max, size, i, loc = 1;
printf("Input number of elements in array\n");
scanf("%d", &size);
#include <conio.h>
int main()
{
int array[100], max, size, i, loc = 1;
printf("Input number of elements in array\n");
scanf("%d", &size);
Labels:
Array's maximum element,
c program
Sunday, March 16, 2014
Check Anagram in C
#include <stdio.h>
#include<conio.h>
int check_anagram(char [], char []);
int main()
{
char s1[110], s2[110];
int cond;
printf("Enter first string\n");
gets(s1);
printf("Enter second string\n");
gets(s2);
#include<conio.h>
int check_anagram(char [], char []);
int main()
{
char s1[110], s2[110];
int cond;
printf("Enter first string\n");
gets(s1);
printf("Enter second string\n");
gets(s2);
Labels:
Anagram in c,
c program
Subscribe to:
Posts (Atom)