which is the easy way to divide any integer by 2?
Answer Posted / saranya
if s=10
s=s>>1
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
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.
When should I use unitbuf flag?
What do you mean by late binding?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
What is command line arguments in C++? What are its uses? Where we have to use this?
What is the use of namespace std in C++?
What is the role of C++ shorthand's?
write a programme to get a character and thier ASCII value
What is a wchar_t in c++?
To what does “event-driven” refer?
Is map sorted c++?
What is the role of static keyword for a class member variable?
Define a nested class.
What are the four main data types?
What is an html tag?