Skip to content

Commit

Permalink
correct char array definition and initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
jainkhere committed Mar 23, 2022
1 parent 5e12c94 commit c1b94cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pointer-operations_strings.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ int main() {
// Uncomment the function that you want to run
// and check the output for.

// char arr1 = "Hello world!";
// char arr2;
// char arr1[] = "Hello world!";
// char arr2[] = "";
// strlen1(arr1);
// strlen2(arr1);
// strlen3(arr1);
Expand Down

0 comments on commit c1b94cf

Please sign in to comment.