C Programming and Technical Programming Program

Is the following statement a declaration or definition?
extern int i;

Options
1) Declaration
2) Definition
3) Function
4) Error

Read Solution (Total 13)

C Other Question

In which numbering system can the binary number 1011011111000101 be easily converted to?

Options
1) Decimal system
2) Hexadecimal system
3) Octal system
4) No need to convert
Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

Options
1) rem = 3.14 % 2.1;
2) rem = modf(3.14, 2.1);
3) rem = fmod(3.14, 2.1);
4) Remainder cannot be obtain in floating point division.