What is the role of C++ shorthand's?
No Answer is Posted For this Question
Be the First to Post Answer
Define vptr.
What is a stack? How it can be implemented?
What is difference between class and function?
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?
How can we read/write Structures from/to data files?
Explain unexpected() function?
Do class declarations end with a semicolon?
What is the difference between ++ count and count ++?
Is there any difference between dlearations int* x and int *x? If so tell me the difference?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
What is extern c++?
Is eclipse good for c++?