Easy Tutorial
For Competitive Exams
Placement Papers Aricent Page: 3
42517.A float occupies 4 bytes. If the hexadecimal equivalent of these 4 bytes are A, B, C and D, then when this float is stored in memory in which of the following order do these bytes gets stored?
ABCD
DCBA
0xABCD
Depends on big endian or little endian architecture
42518.A pointer is
A keyword used to create variables
A variable that stores address of an instruction
A variable that stores address of other variable
All of the above
42519.Which bitwise operator is suitable for turning on a particular bit in a number?
&& operator
& operator
|| operator
| operator
42520.What are the types of linkages?
Internal and External
External, Internal and None
External and None
Internal
42521.What is the purpose of fflush() function.
flushes all streams and specified streams.
flushes only specified stream.
flushes input/output buffer.
flushes file buffer.
42522.What does the following declaration mean? int (*ptr)[10];
ptr is array of pointers to 10 integers
ptr is a pointer to an array of 10 integers
ptr is an array of 10 integers
ptr is an pointer to array
42523.In which order do the following gets evaluated
1. Relational
2. Arithmetic
3. Logical
4. Assignment
2134
1234
4321
3214
42524.What will the function rewind() do?
Reposition the file pointer to a character reverse.
Reposition the file pointer stream to end of file.
Reposition the file pointer to begining of that line.
Reposition the file pointer to begining of file.
42525.Input/output function prototypes and macros are defined in which header file?
conio.h
stdlib.h
stdio.h
dos.h
42526.The binary equivalent of 5.375 is
101.101110111
101.011
101011
None of above
Share with Friends