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> | |
#include <string.h> | |
#define LIMIT 1024 | |
void squeeze(char s1[], char s2[]); | |
/* TO StackOverflow USERS: THIS VERSION IS WHEN THE ERROR IS FIXED. */ | |
/* Exercise 2-4. Write an alternative version of squeeze(s1,s2) that deletes each character in |
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> | |
#include <limits.h> | |
#include <float.h> | |
/* Exercise 2-1. Write a program to determine the ranges of char, short, int, and long | |
variables, both signed and unsigned, by printing appropriate values from standard headers | |
and by direct computation. Harder if you compute them: determine the ranges of the various | |
floating-point types. */ | |
main() | |
{ |