Advertisement
sujonshekh

length equal

Dec 14th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1.  
  2. #include<stdio.h>
  3. int main()
  4. {
  5.     char a[100], b[100];
  6.     int c,d;
  7.     gets(a);
  8.     gets(b);
  9.     c=strlen(a);
  10.     d=strlen(b);
  11.     if(c==d)
  12.     printf("length is Equal\n");
  13.     else
  14.     printf("lenth is not Equal");
  15.     return 0;
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement