Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- int main () {
- char* array [2] = {"12345678912345678","12345678"};
- int a = sizeof (array [0]);
- fprintf (stdout, "%s , %d n", array [0], a);
- return 0;
- }
- 12345678912345678 , 12345678
- int a = strlen(array [0]);
Add Comment
Please, Sign In to add comment