Assertion failed: expression, file <filename>, line <line>is output to stderr, and execution is aborted.
struct tm { int tm_sec; /* seconds after the minute - [0, 61] */ /* for leap seconds */ int tm_min; /* minutes after the hour - [0, 59] */ int tm_hour; /* hour since midnight - [0, 23] */ int tm_mday; /* day of the month - [1, 31] */ int tm_mon; /* months since January - [0, 11] */ int tm_year; /* years since 1900 */ int tm_wday; /* days since Sunday - [0, 6] */ int tm_yday; /* days since January 1 - [0, 365] */ int tm_isdst; /* flag for alternate daylight savings time */ };
int i1,i2; scanf("%d %d",&i1,&i2); printf("%d\n:,i1/i2);
#include <stdio.h> #include <stdlib.h> #include <time.h> void Byeee(void) { time_t elapsedSinceEpoch; time(&elapsedSinceEpoch); printf("My time is %s\n",ctime(&elapsedSinceEpoch)); } int main(void) { FILE *File; atexit(Byeee); if ((File = fopen("/bin/ls","w")) == NULL) { perror("Opening system file"); exit(-1); } fclose(File); return(0); }