Created
November 21, 2013 03:47
-
-
Save diiq/7575798 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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