What is iterator in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of volatile variable?
What is an html tag?
Write a program to reverse a linked list?
8 Answers Catalytic Software, Satyam,
What is DlgProc?
What C++ libraries are you proficient with?
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?
Is c++ map a hash table?
What is a parameterized type?
What does the ios::ate argument do?
What is the two main roles of operating system?
Does c++ support exception handling?
Which is better c++ or java?