Skip to content

Instantly share code, notes, and snippets.

@deeunix
Last active July 1, 2025 16:08
Show Gist options
  • Save deeunix/7055917aa458cc10c59775de4879909b to your computer and use it in GitHub Desktop.
Save deeunix/7055917aa458cc10c59775de4879909b to your computer and use it in GitHub Desktop.
my cs50 hello.c solution
#include <cs50.h>
#include <stdio.h>
int main(void)
{
string name = get_string("What is your name: "); //declare a string with 'name' variable
printf("hello, %s\n", name); //then print the name with %s
}
@zavithekid
Copy link

j
s

@zavithekid
Copy link

earth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment