Advertisement
redsees

Untitled

Mar 25th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<string.h>
  3. #include "Py.py"
  4. int main(){
  5. char *x="Hello World";
  6. //for(int i=0;i<strlen(x);i++)printf("%d = %c\n",i,*(x+i));
  7. //x[5]="L";
  8. //printf("\t%c\n",*(x+1));
  9. int n;
  10. n=give_me_len(x);
  11. printf("Length using strlen() : %d\nLength using give_me_len() : %d\n\n",strlen(x),n);
  12. return 0;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement