One of the worst written test i have ever seen.A lot of questions got repeated.
35 questions and every question is on aptitude only.There is ofcourse negative marking
+1 for correct and -1/3 for wrong....
Got through written test easily.
====================================================================================
====================================================================================
=================================================================================
Technical interview:
INT:interviewer
INT: Ur favourite subjects?
me: circuit theory,digital&analog communications...
INT: What is meant by KVL & KCL?
me:explained them
INT:What is nodal analysis and mesh analysis?
me: explained them
INT: explain them with a circuit?
me: easy one and explained it.
INT:Apply both mesh and nodal analysis in same circuit?Draw a ckt where u can apply both?
me:Here starts the trouble..
I couldn't recall this,sir.
INT: He mentioned about DE?
me: Sir, iam not that comfortable with DE.
INT: Lets us go with C?
me: yes sir.
INT: What is a pointer?
me: explained this comfortably.
INT:What is difference between malloc() and calloc()?
me: I said malloc is generally used for allocating for a single block of memory
and calloc() is used for multiple block of memory.
[This is according to balaguruswamy...But not the perfect answer.]
INT:Not satisfied with my answer.How will end a FOR loop?
me:
If condition fails FOr loop ends ,sir.
INT:ok.Any other way?
me:
sacnf("%d",&n);
for(i=0;i
body contains only semicolon ;
for(i=0;i
;
}
This will end for loop ,sir.
INT:good. Any other?
me: break and goto
[he is waiting 4 this answer]
INT: good.What is difference between structure and union?
me: Explained it comfortably.
main reason is MEMORY.
INT: Difference between & and &&?
me: I said them.But I explained one and said i could not recall other.
INT:ok.What is meant by preprocessor?
me:explained this.
INT: asked questions on syntax?
me: answered them..
INT: Why do use # in preprocessor?
me: Explained this taking example of mnemonic in microprocessors.
#0FFE H
INT : good.
#define a 2
What will memory allocated to variable a?
me: 2 since it is an int.
INt: are u sure?
me: yes ,sir.
INT: thank you and wait outside.
me: thank you.
=========================================================================
================================================================================
===========================================
Waited outside and came to known that i was rejected....
:):):)
=================================================================================
=========================================================
Reasons:
1) My biggest mistake was i said iam not comfortable with DE...
2) Did make few mistakes in C language.
#define a 2
1) memory allocated to a is 0bytes..
2) Difference between malloc() and calloc()?
The reason is not related to blocks.
calloc() initialises to 0 where as malloc() doesnot do this.
There are still 3 reasons for this.
3) Differenc between & and &&?
One is logical AND other is assignment operator.
===================================================================
===============================
====================================================================
No comments:
Post a Comment