Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<string.h>
- #include "Py.py"
- int main(){
- char *x="Hello World";
- //for(int i=0;i<strlen(x);i++)printf("%d = %c\n",i,*(x+i));
- //x[5]="L";
- //printf("\t%c\n",*(x+1));
- int n;
- n=give_me_len(x);
- printf("Length using strlen() : %d\nLength using give_me_len() : %d\n\n",strlen(x),n);
- return 0;}
Add Comment
Please, Sign In to add comment