Something went wrong. Try again.
My course files for the Online Computer Science degree
Something went wrong. Try again.
12345678910111213141516// Returns explicit value from main
#include <cs50.h>#include <stdio.h>
int main(int argc, string argv[]){ if (argc != 2) { printf("missing command-line argument\n"); return 1; } printf("hello, %s\n", argv[1]); return 0;}