# 1 "Prog3.c" # 1 "/usr/include/stdio.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 138 "/usr/include/features.h" 3 # 196 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 47 "/usr/include/sys/cdefs.h" 3 # 69 "/usr/include/sys/cdefs.h" 3 # 103 "/usr/include/sys/cdefs.h" 3 # 138 "/usr/include/sys/cdefs.h" 3 # 250 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 278 "/usr/include/features.h" 2 3 # 27 "/usr/include/stdio.h" 2 3 # 1 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 1 3 # 19 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 61 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 131 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 typedef unsigned int size_t; # 271 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 283 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 317 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 33 "/usr/include/stdio.h" 2 3 # 1 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdarg.h" 1 3 typedef void *__gnuc_va_list; # 122 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdarg.h" 3 # 209 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdarg.h" 3 # 38 "/usr/include/stdio.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 1 3 # 19 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 61 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 131 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 188 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 271 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 283 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 317 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 29 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short __u_short; typedef unsigned int __u_int; typedef unsigned long __u_long; typedef struct { long int __val[2]; } __quad_t; typedef struct { __u_long __val[2]; } __u_quad_t; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef __quad_t *__qaddr_t; typedef __u_quad_t __dev_t; typedef __u_int __uid_t; typedef __u_int __gid_t; typedef __u_long __ino_t; typedef __u_int __mode_t; typedef __u_int __nlink_t; typedef long int __off_t; typedef __quad_t __loff_t; typedef int __pid_t; typedef int __ssize_t; typedef __u_long __rlim_t; typedef __u_quad_t __rlim64_t; typedef __u_int __id_t; typedef struct { int __val[2]; } __fsid_t; typedef int __daddr_t; typedef char *__caddr_t; typedef long int __time_t; typedef long int __swblk_t; typedef long int __clock_t; typedef unsigned long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask)) ]; } __fd_set; typedef int __key_t; typedef unsigned short int __ipc_pid_t; typedef long int __blkcnt_t; typedef __quad_t __blkcnt64_t; typedef __u_long __fsblkcnt_t; typedef __u_quad_t __fsblkcnt64_t; typedef __u_long __fsfilcnt_t; typedef __u_quad_t __fsfilcnt64_t; typedef __u_long __ino64_t; typedef __loff_t __off64_t; typedef long int __t_scalar_t; typedef unsigned long int __t_uscalar_t; typedef int __intptr_t; # 40 "/usr/include/stdio.h" 2 3 typedef struct _IO_FILE FILE; # 1 "/usr/include/libio.h" 1 3 # 1 "/usr/include/_G_config.h" 1 3 # 1 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 1 3 # 19 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 61 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 131 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 188 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 typedef long int wchar_t; typedef unsigned int wint_t; # 317 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h" 3 # 14 "/usr/include/_G_config.h" 2 3 typedef int _G_int16_t ; typedef int _G_int32_t ; typedef unsigned int _G_uint16_t ; typedef unsigned int _G_uint32_t ; # 30 "/usr/include/libio.h" 2 3 # 1 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdarg.h" 1 3 # 122 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdarg.h" 3 # 209 "/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdarg.h" 3 # 48 "/usr/include/libio.h" 2 3 # 67 "/usr/include/libio.h" 3 # 98 "/usr/include/libio.h" 3 struct _IO_jump_t; struct _IO_FILE; typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 186 "/usr/include/libio.h" 3 }; struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _blksize; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; __off64_t _offset; int _unused2[16]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; typedef __ssize_t __io_read_fn (void * __cookie, char *__buf, size_t __nbytes) ; typedef __ssize_t __io_write_fn (void * __cookie, const char *__buf, size_t __n) ; typedef int __io_seek_fn (void * __cookie, __off_t __pos, int __w) ; typedef int __io_close_fn (void * __cookie) ; # 311 "/usr/include/libio.h" 3 extern int __underflow (_IO_FILE *) ; extern int __uflow (_IO_FILE *) ; extern int __overflow (_IO_FILE *, int) ; extern int _IO_getc (_IO_FILE *__fp) ; extern int _IO_putc (int __c, _IO_FILE *__fp) ; extern int _IO_feof (_IO_FILE *__fp) ; extern int _IO_ferror (_IO_FILE *__fp) ; extern int _IO_peekc_locked (_IO_FILE *__fp) ; extern void _IO_flockfile (_IO_FILE *) ; extern void _IO_funlockfile (_IO_FILE *) ; extern int _IO_ftrylockfile (_IO_FILE *) ; extern int _IO_vfscanf (_IO_FILE * , const char * , __gnuc_va_list , int * ) ; extern int _IO_vfprintf (_IO_FILE * , const char * , __gnuc_va_list ) ; extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t ) ; extern size_t _IO_sgetn (_IO_FILE *, void *, size_t ) ; extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t , int, int) ; extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t , int) ; extern void _IO_free_backup_area (_IO_FILE *) ; # 57 "/usr/include/stdio.h" 2 3 typedef __off_t fpos_t; # 1 "/usr/include/bits/stdio_lim.h" 1 3 # 110 "/usr/include/stdio.h" 2 3 extern FILE *stdin; extern FILE *stdout; extern FILE *stderr; extern int remove (const char *__filename) ; extern int rename (const char *__old, const char *__new) ; extern FILE *tmpfile (void) ; extern char *tmpnam (char *__s) ; extern char *tmpnam_r (char *__s) ; extern char *tempnam (const char *__dir, const char *__pfx) ; extern int fclose (FILE *__stream) ; extern int fflush (FILE *__stream) ; extern int fflush_unlocked (FILE *__stream) ; extern FILE *fopen (const char * __filename, const char * __modes) ; extern FILE *freopen (const char * __filename, const char * __modes, FILE * __stream) ; # 201 "/usr/include/stdio.h" 3 extern FILE *fdopen (int __fd, const char *__modes) ; # 227 "/usr/include/stdio.h" 3 extern void setbuf (FILE * __stream, char * __buf) ; extern int setvbuf (FILE * __stream, char * __buf, int __modes, size_t __n) ; extern void setbuffer (FILE * __stream, char * __buf, size_t __size) ; extern void setlinebuf (FILE *__stream) ; extern int fprintf (FILE * __stream, const char * __format, ...) ; extern int printf (const char * __format, ...) ; extern int sprintf (char * __s, const char * __format, ...) ; extern int vfprintf (FILE * __s, const char * __format, __gnuc_va_list __arg) ; extern int vprintf (const char * __format, __gnuc_va_list __arg) ; extern int vsprintf (char * __s, const char * __format, __gnuc_va_list __arg) ; extern int snprintf (char * __s, size_t __maxlen, const char * __format, ...) ; extern int __vsnprintf (char * __s, size_t __maxlen, const char * __format, __gnuc_va_list __arg) ; extern int vsnprintf (char * __s, size_t __maxlen, const char * __format, __gnuc_va_list __arg) ; # 306 "/usr/include/stdio.h" 3 extern int fscanf (FILE * __stream, const char * __format, ...) ; extern int scanf (const char * __format, ...) ; extern int sscanf (const char * __s, const char * __format, ...) ; # 334 "/usr/include/stdio.h" 3 extern int fgetc (FILE *__stream) ; extern int getc (FILE *__stream) ; extern int getchar (void) ; extern int getc_unlocked (FILE *__stream) ; extern int getchar_unlocked (void) ; extern int fgetc_unlocked (FILE *__stream) ; extern int fputc (int __c, FILE *__stream) ; extern int putc (int __c, FILE *__stream) ; extern int putchar (int __c) ; extern int fputc_unlocked (int __c, FILE *__stream) ; extern int putc_unlocked (int __c, FILE *__stream) ; extern int putchar_unlocked (int __c) ; extern int getw (FILE *__stream) ; extern int putw (int __w, FILE *__stream) ; extern char *fgets (char * __s, int __n, FILE * __stream) ; extern char *gets (char *__s) ; # 424 "/usr/include/stdio.h" 3 extern int fputs (const char * __s, FILE * __stream) ; extern int puts (const char *__s) ; extern int ungetc (int __c, FILE *__stream) ; extern size_t fread (void * __ptr, size_t __size, size_t __n, FILE * __stream) ; extern size_t fwrite (const void * __ptr, size_t __size, size_t __n, FILE * __s) ; extern size_t fread_unlocked (void * __ptr, size_t __size, size_t __n, FILE * __stream) ; extern size_t fwrite_unlocked (const void * __ptr, size_t __size, size_t __n, FILE * __stream) ; extern int fseek (FILE *__stream, long int __off, int __whence) ; extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream) ; typedef __off_t off_t; extern int fgetpos (FILE * __stream, fpos_t * __pos) ; extern int fsetpos (FILE *__stream, const fpos_t *__pos) ; # 523 "/usr/include/stdio.h" 3 # 533 "/usr/include/stdio.h" 3 extern void clearerr (FILE *__stream) ; extern int feof (FILE *__stream) ; extern int ferror (FILE *__stream) ; extern void clearerr_unlocked (FILE *__stream) ; extern int feof_unlocked (FILE *__stream) ; extern int ferror_unlocked (FILE *__stream) ; extern void perror (const char *__s) ; extern int sys_nerr; extern const char * const sys_errlist[]; extern int fileno (FILE *__stream) ; extern int fileno_unlocked (FILE *__stream) ; extern FILE *popen (const char *__command, const char *__modes) ; extern int pclose (FILE *__stream) ; extern char *ctermid (char *__s) ; # 607 "/usr/include/stdio.h" 3 extern void flockfile (FILE *__stream) ; extern int ftrylockfile (FILE *__stream) ; extern void funlockfile (FILE *__stream) ; # 1 "Prog3.c" 2 int main(void) { int i; double test_seite, test_flaeche; double seiten[10 ], flaechen[10 ]; for (i = 0; i < 10 ; i++) { printf("Geben Sie die %d. Seitenlaenge ein: ", i); scanf("%lf", &seiten[i]); flaechen[i] = seiten[i] * seiten[i] ; printf("Flaeche des zugehoerigen Quadrats: %f\n\n", flaechen[i]); } test_seite = 9.0; printf("quadrat(%f) = %f\n", test_seite, test_seite * test_seite ); printf("quadrat(10.0) = %f\n\n", 10.0 * 10.0 ); printf(" quadrat(%f+1.0) = %f\n", test_seite, test_seite+1.0 * test_seite+1.0 ); printf("quadrat_besser(%f+1.0) = %f\n", test_seite, ( test_seite+1.0 )*( test_seite+1.0 ) ); return 0; }