Who discovered c++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

How can I disable the "echo" feature?

0 Answers  


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

0 Answers  


Do you know what are static and dynamic type checking?

0 Answers  


What is c++ try block?

0 Answers  


What is the use of this pointer in c++?

0 Answers  






1.what is the difference between software & package &application.

1 Answers   Infosys,


What is c++ good for?

0 Answers  


How do you remove an element from a set in c++?

0 Answers  


Can you think of a situation where your program would crash without reaching the breakball, which you set at the beginning of main()?

1 Answers  


What compiler was used?

6 Answers   Intel,


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?

5 Answers  


what are prototypes

4 Answers   Infosys, TCS,


Categories