HUAWEI Placement Papers 2

by mod on December 31, 2009

Standard error stream stderr,
ans: are by defaultbuffered

Named pipes are ansd:strictly unidirectional, even on systems where anonymous pipes are bidirectional ( full-duplex).

proto type of printf
ans: int fprintf(FILE *stream, const char *format, …)

user level switcjing is faster than the kernel level s/w
ans:since a trap to kernel is not required(user level thread is not known by the os)

automatic variables are stored in

dynamic meory is it allocated from heap/satck…?

how to find the size of file in unix

Technical

How many times is the for loop executed
for(i=0;i<10;i++);
a. 1
b. 10
c. compiler error
d. not executed

How many times is the for loop executed
for(i=0;i<10;i++);
a. 1
b. 10
c. compiler error
d. not executed

for selection, we use
a .if..else
b .for loop
c. while loop
d…..

Which of the following is executed 1rst?
i .&& ii.|| iii.!
a. i
b. ii
c. iii
d. all are equal

To find o/p of a recursive pgm, function where in parameters are passed by value,reference……function used in

ansi computers to clear the screen is:
a. clrsc
b. clear
c. clescr
d. none of the above

Related posts:

  1. HUAWEI Placement Papers 1
  2. HUAWEI Pattern
  3. HUAWEI Company Profile
  4. HUAWEI Placement Papers 2011
  5. MPHASIS Placement Papers 2

Leave a Comment

Security Code:

Previous post:

Next post: