Are c and c++ similar?
No Answer is Posted For this Question
Be the First to Post Answer
What is a wchar_t in c++?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
What are stacks?
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 the difference between the functions memmove() and memcpy()?
Why is it difficult to store linked list in an array?
What are c++ files?
When is dynamic checking necessary?
Tell me difference between constant pointer and pointer to a constant.
What is the use of lambda in c++?
How many types of scopes are there in c++?
What are the debugging methods you use when came across a problem?