Can we generate a C++ source code from the binary file?
Answers were Sorted based on User's Feedback
Answer / brainless
Microsoft's "managed c++" code maybe supports this feature.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dipak
It can possible, there are so many de-compilers avaliable
now to do this job.
Is This Answer Correct ? | 0 Yes | 2 No |
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What is the difference between structures and unions?
Who invented turbo c++?
What is object slicing and how can we prevent it?
How does work in c++?
Write about all the implicit member functions of a class?
What is the difference between the functions memmove() and memcpy()?
Should a constructor be public or private?
What is else if syntax?
What is the difference between global variables and local variable
class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected
Find out the bug in this code,because of that this code will not compile....... #include <iostream> #include <new> #include <cstring> using namespace std; class balance { double cur_bal; char name[80]; public: balance(double n, char *s) { cur_bal = n; strcpy(name, s); } ~balance() { cout << "Destructing "; cout << name << "\n"; } void set(double n, char *s) { cur_bal = n; strcpy(name, s); } void get_bal(double &n, char *s) { n = cur_bal; strcpy(s, name); } }; int main() { balance *p; char s[80]; double n; int i; try { p = new balance [3]; // allocate entire array } catch (bad_alloc xa) { cout << "Allocation Failure\n"; return 1; }