Zensar Technical C Questions
Posted on :29-02-2016
Q1. To delete all of the data from the table and to aid in not writing roll back segment which command is used?
A. Delete
B. Cascade
C. Truncate
D. Drop
Q2. Which of these functions can be used efficiently to return back a portion of character string?
A. Substring
B. Substr
C. Instr
D. Pos
Q3. What is the complexity of merge sort?
Q4. Which sorting techniques can be used to sort {1,2,3,4,5}?
Q5. Which register in a micro controller is used to hold next instruction?
A. STACK
B. PC
C. ARG
D. PSW
Q6. What is the significance of (*xyz [13])
Q7. What do you mean by true form?
A. No reference made to class
B. Child class reference in this case is fully compatible with base reference.
C. Base call reference is fully compatible with child class reference
D. All of the above
Q8. Int fun(), in this case how is a pointer defined?
Q9. Which of these is fastest?
A. TELNET
B. TCP
C. FTP
Q10. Consider (fp=fopeen(â€dfasâ€,â€râ€)==NULL)
What will be the value of fp?
A. Null
B. 0
C. 1
D. Can be 0 or 1
Q11. Which of these is an object oriented language?
A. C++
B. Eiffel
C. Java
D. All
Q12. Which of these is/are considered storage class?
A. Automatic
B. Allocated
C. Static
D. All