Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 309 Bytes
#include <stdio.h>
char pwdSecret[] = "stack123!";
void print_secr()
{
printf("Password is %s\n", pwdSecret);
}
int main(int argc, char **argv)
{
int check=0;
char buffer[32];
gets(buffer);
if(check == 0x74696445) {
print_secr();
}
else
{
printf("No password to show\n");
}
}