Interview questions
System Administrator interview questions – page 8
2,099 questions. Tap “Show answer” to check yourself.
-
Assume the following C variable declaration
-
Which is the valid declaration? a) #typedef struct { int i;}in; b) typedef struct in {int i;}; c) #typedef struct int {int i;}; d) typedef struct {int i;} in;
-
What would be the output of the following program? main() { int i=4; switch(i) { default: printf("n A mouse is an elephant built by the Japanese"); case 1: printf(" Breeding rabbits is a hair rai
-
What is the output of the program?
-
Which of the following about automatic variables within a function is correct ?
-
How do u have constant members in a class?
-
Sizeof(structure)?
-
1)What is static identifier? 2)Where are the auto variables stored?
-
How to determine multiinclusion of header file in C, i.e., how to check if same header file is included more than once?
-
What fucntion will read a specified number of elements from a file?
-
Output of the following program
-
All the programs are tested under Turbo C/C++ compilers. It is assumed that,? Programs run under DOS environment,? The underlying machine is an x86 system,? Program is compiled using Turbo C/C++ compiler.The program output may depend on the information
-
What function will read a specified number of elements from a file ? a) fread() b) readfile() c) fileread() d) gets()
-
Cond 1?cond 2?cond 3?:exp 1:exp 2:exp 3:exp 4; is equivalent to which of the following?
-
What is false about the following -- A compound statement is
-
Difference between :- 1) C and C++2) main() in c and main() in c++ ?
-
What is int *p(char (*s)[])
-
What would be the return value of the below function for a) RecursionTest(2,2) b) RecursionTest(3,3)
-
How to improve my c knowledge...
-
Write a function to Swap pointers .
-
What is preprocessor / precompiler ?
-
There are 3 clans in an island - The Arcs who never lie, the Dons who always lie and the Slons who lie alternately with the truth. Once a tourist meets 2 guides who stress that the other is a Slon. They proceed on a tour and see a sports meet. The first guide says that the prizes have been won in the order Don, Arc, Slon. The other says that, the order is Slon, Don, Arc. (the order need not be exact). To which clan did each of the guides and the players belong? ...
-
Your company has assigned you to design a spam detector...design,features,possible difficulties in your path...take a feature and explain how would u implement it ---15 marks
-
The profit made by a company in one year is enough to give 6% return on all shares. But as the preferred shares get on return of 7.5%, so the ordinary shares got on return of 5%. If the value of preferred shares is Rs 4,000000, then what is the va...
-
A 31" x 31" square metal plate needs to be fixed by a carpenter on to a wooden board. The carpenter uses nails all along the edges of the square such that there are 32 nails on each side of the square. Each nail is at the same distance from the neighboring nails. How many nails does the carpenter use?
-
What does it contain?
-
Passenger train and Freight train passing on parallel tracks. Passenger train takes takes twice as much time to pass the Freight train when moving in same direction and also the same time when moving in the opp direction. How much faster is the passanger train?
-
What relationship is resolved by an intersecting or associative entity ? a) Recursive b) Mandatory one to one c) Many to Many d) One to One
-
Explain how the virtual base class is different from the conventional base classes of the opps.
-
A person with some money spends1/3 for cloths, 1/5 of the remaining for food and 1/4 of the remaining for travel. He is left with Rs 100/- . How much did he have with him in the beginning ?