CSE MCQ
Undefined
20
Error
Garbage Value
2
8
Would vary compiler to cimpiler
200
10,000
100
10
h llhhhhl
hxhhl
hx248
hx9248
leftmost bit is reserved for sign
rightmost bit is reserved for sign
no bit is reserved for sign
none of these
define men and women as 100 element floating point arrays
define men and women as floating point variables
define height, men and women as floating point variables
are illegal
beginning of the program
that certain information about mathematical library functions are to be included at the begnning of the program
cannot be initialized
is initialized once at the commencement of execution and cannot be changed at run time
retains its value throughout the file of the program
is same as an automatic variable but is placed at the head of a program
finds hypotenuse of triangle with sides a + 2 and b+3
finds square root of (a + 2)2 + (b + 3)2
is meaningless
finds square root of 3*a + 4*b + 5
int < unsigned < float < double
unsigned < int < float < double
int < unsigned < double < float
unsigned < int < double < float
local variables
internal variables
external variable
global variables
input facility
output facility
both input and output facilities
no input and output facilities
strings and sets
lists and arrays
characters, integers, and floating point numbers
all of these
int
float
char
long int
047
0 x 0 f
0 x f3
0 x 27
it results in a syntax error
it is meaningless
compiler will give a new name for the field
during execution, value of i may change but not its address
during execution both the address and value may change
repeated execution may result in different addresses for i
i may not have an associated address
263
ASCII equivalent of 263
rings the bell
garbage
results in the printing of a negative integer
always prints a positive integer
prints a value that is implementation dependent