Skip to content

Instantly share code, notes, and snippets.

@diiq
Created November 21, 2013 03:47
Show Gist options
  • Save diiq/7575798 to your computer and use it in GitHub Desktop.
Save diiq/7575798 to your computer and use it in GitHub Desktop.
#include <stdio.h>
float rstr[20];
static void doflasha()
{
int err;
double tt,p1,p2,t2;
double volg, voll, volgm, dgm, zmw, ymw, xmw;
char *ptr;
char tstr[128];
ptr = NULL; p2=0.0; t2=0.0; /* voooooodoooooooooo */
tt = (double) rstr[20];
p1 = (double) rstr[8];
printf("%f\n", p1);
}
void doflashb() {
int err;
double tt, p1;
tt = (double) rstr[20];
p1 = (double) rstr[8];
printf("%f\n", p1);
}
int main() {
rstr[8] = 101325.;
doflasha();
rstr[8] = 101325.;
doflashb();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment