Skip to content

Instantly share code, notes, and snippets.

@dnoiz1
Created November 14, 2015 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnoiz1/be2c24dab08a1d1f16bc to your computer and use it in GitHub Desktop.
Save dnoiz1/be2c24dab08a1d1f16bc to your computer and use it in GitHub Desktop.
whatelse&then?nada.
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
bool sup;
void nada()
{
if (!sup) printf("nada\n");
}
void what_else(bool then)
{
sup = sup &then; //?
return nada();
}
void main()
{
sup = false;
what_else(sup);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment