What is binary search in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is a mutex and a critical section.Whats difference between them?How do each of them work?
Can c++ do everything c can?
Distinguish between a # include and #define.
What is capacity in vector in c++?
How do you decide which integer type to use?
What are the main features of c++?
What are the stages in the development cycle?
Explain the benefits of proper inheritance.
Live example for static function?
You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
0 Answers College School Exams Tests, CS,