C language Quiz 3

Results

#1. integer argument, print as floating point, at least 4 characters wide

#2. provides a general and extensible mechanism for representing hard-to-type or invisible characters. t, b, ”, \. section 2.3 → escape sequence

#3. Default storage class if not any is specified for a local variable, is auto

#4. The library function used to find the last occurrence of a character in a string is

#5. which function is safe to use gets() or fgets()?

#6. Input/output function prototypes and macros are defined in which header file?

#7. The prototypes of all standard library string functions are declared in the file string.h.

#8. To write the ASCII code of char ch=’x’;

#9. what is the storage size of the float data type (float)?

#10. The operator = in the Boolean condition if( age = 20)

finish