Is c++ the hardest language?


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

Post New Answer

More C++ General Interview Questions

How many types of modularization are there in c++?

0 Answers  


What are the advantages of C++ programming compared to C programming?

2 Answers   HAL,


How to defines the function in c++?

0 Answers  


What flag means?

0 Answers  


What is the difference between map and hashmap in c++?

0 Answers  






Explain the concept of copy constructor?

0 Answers  


what kind of projects are suitable for c and c++

0 Answers  


What do you mean by function overriding & function overloading in c++?

0 Answers  


When do we run a shell in the unix system? How will you tell which shell you are running?

0 Answers  


Why did you leave your last job?

2 Answers  


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  


Why are arrays usually processed with for loop?

0 Answers  


Categories