All pastes #639554 Raw Edit

Stuff

public text v1 · immutable
#639554 ·published 2007-07-30 17:33 UTC
rendered paste body
/* @ Author: Alex 'easter' Stead
 * @ This project point was just a learn abit.
 * @ It works like interpreter, you write program in phonix
 * @ and bam this little snipet just interprets it and does
 * @ what you want it to do.
 */



#include <stdio.h>


int main() {
	/* IN MEMORY THEY ARE STORED LIKE THIS, not in memory but in my brain
	 * 0 =>
	 *   0 => F
	 *   1 => I
	 *   2 => \'0'
	 * 1 =>
	 *  0 => N
	 *  1 => 0
	 *  2 => \0
	 */

    char testing[][3] = {{'F','I','\0'},{'N','O','\0'}};
    char *pointer = testing[0]; // Points to first element first letter
    printf("%s",*pointer);
    return 0;
}