Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gdb playground
#include <stdio.h>
void party_time();
int main(void){
printf("hw\n");
char x[] = {'a','b','c','d'};
int length = sizeof x / sizeof x[0];
party_time();
for(int i = 0; i < length-1; i++)
printf("%i\n", x[i]);
return 0;
}
void party_time(){
char* x = "Hello";
int y = 42;
char z = 'm';
printf("party time! %s | %i | %c\n", x, y, z);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment