questions

A. First element of the array
B. Value of elements in array
C. Address of the last element of array
D. Base address of the array
A. The compiler would report an error.
B. The element will be set to 0.
C. The array size would appropriately grow.
D. The program may crash if some important data gets overwritten.
A. Division, Multiplication, Addition, Subtraction
B. Addition, Subtraction, Multiplication, Division
C. Addition, Division, Modulus, Subtraction
D. Multiplication, Addition, Division, Subtraction
A. &&
B. &
C. !
D. ||
A. floor(.66)
B. ceil(.66)
C. roundto(.66)
D. roundup(.66)
A. Definition
B. Declaration
C. Error
D. Function
A. rem = modf(.14, 2.1);
B. rem = 3.14 % 2.1;
C. Remainder cannot be obtain in floating point division.
D. rem = fmod(.14, 2.1);
A. 1234
B. 2134
C. 3214
D. 4321
A. 1, 3
B. 1, 2
C. 1, 2, 3
D. 2, 4
A. = * / % -
B. * / % - =
C. * % / - =
D. / * % - =
A. a>b ? c=30;
B. a>b ? c=30 : c=40;
C. return (a>?(a:
D. max = a>b ? a>c?a:c:b>c?b:c
A. DCBA
B. ABCD
C. Depends on big endian or little endian architecture
D. 0xABCD
A. y = int(x 0.5)
B. y = (int)(x 0.5)
C. y = (int)((int)x 0.5)
D. y = (int)x 0.5
A. short int, double, long int
B. float, double
C. double, long int, float
D. float, double, long double
A. rem = modf(.5, 1.3)
B. rem = (.5 % 1.3)
C. Error: we can't divide
D. rem = fmod(.5, 1.3)
A. goto
B. switch
C. return
D. go back
A. Representation of void pointer
B. Representation of NULL pointer
C. None of above
D. Error
A. A variable that stores address of an instruction
B. A keyword used to create variables
C. All of the above
D. A variable that stores address of other variable
A. stddef.h
B. stdio.h
C. math.h
D. stdio.h and stddef.h