Whole-Testpaper |   3775

Whole-Testpaper

 
 
INTEC PAPER ON 12th NOVEMBER AT BANGALORE

Hai friends,,
Here are some questions. of intec test

1. what is malloc and calloc function.explain difference between them?
2. what is difference betwn const int*p and int *const p something like that?
3. wap to dynamically allocate memory using malloc function?
4. wap to resize the allocated memory done with help of malloc and design the case for exceptional handling?
5. wap to reverse string without using second variable?
6. write a trim function to trim the white spaces at beginning and end of string?
7. wap to multiply 2 number without using mulitiplication operator?
8. some question were objective where we have to findthe output of a particular function..and there were question regarding operator overloading,friend function,constructor etc.

Regards,
Amit

 

feedback