#include <stdio.h>int main(){ // This prints 5432 not 54321. So where did the last digit go? printf("%d\n", 5432l); // This prints "Invalid version!". I wonder what went wrong... float version=1.1; if (version==1.1) printf("Correct version!\n"); else printf("Invalid version!\n"); // This prints "File not found!", although the file exists. FILE *file=fopen("c:\newfiles\test.txt", "r"); if (!file) printf("File not found!\n"); return 0;}
[edited by - circuit on March 13, 2003 6:05:36 PM]