Why was c++ made?
Answer / Shivani Bansal
DOS stands for Disk Operating System. It was a family of operating systems popular in the 1980s and 1990s, including MS-DOS (Microsoft Disk Operating System).
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the diff b/n c and c++ a. dynamic scoping b. nested switching c. declaration of variables in any code block d. separation of compilation and linking
Check for Balanced Parentheses using Stack?
What is near, far and huge pointers? How many bytes are occupied by them?
What is the exit function in c++?
When is the destructor called?
What are the main characteristics of C++ as a programming language?
What is the difference between object-oriented programming and procedural programming?
1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?
What is "map" in STL?
What is c++ hiding?
What does override mean in c++?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;