What do you mean by ‘void’ return type?
No Answer is Posted For this Question
Be the First to Post Answer
Which one between if-else and switch is more efficient?
What and all can a compiler provides by default?
Should the member functions which are made public in the base class be hidden?
How to access a variable of the structure?
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 are inline functions? What is the syntax for defining an inline function?
what is importance of data sturture in a programming language?
22 Answers L&T, TCS, Wipro,
What are proxy objects in c++?
Can I run c program in turbo c++?
In c++, what is the difference between method overloading and method overriding?
What are the advantages of c++?
How do you show the declaration of a virtual constructor?