We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The assignment10.c is always returning "10" as value the way you did it.
#include <stdio.h> int main() { int array[10] = {0,1,2,3,4,5,6,7,8,9}; printf("The array has %d elements.\n",sizeof(array) / sizeof(array[0])); return 0; }
The code should be:
#include <stdio.h> int main() { int array[] = {0,1,2,3,4,5,6,7,8,9}; printf("The array has %d elements.\n",sizeof(array) / sizeof(array[0])); return 0; }
The text was updated successfully, but these errors were encountered:
Hey, @20urc3 I have great experience in c programming language and I am very interesting in fixing this issue. Please assign it to me. Thank You
Sorry, something went wrong.
No branches or pull requests
The assignment10.c is always returning "10" as value the way you did it.
The code should be:
The text was updated successfully, but these errors were encountered: