What do you mean by ‘void’ return type?


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

Post New Answer

More C++ General Interview Questions

Which one between if-else and switch is more efficient?

0 Answers  


What and all can a compiler provides by default?

3 Answers   Accenture, HP,


Should the member functions which are made public in the base class be hidden?

0 Answers  


How to access a variable of the structure?

0 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  






What are inline functions? What is the syntax for defining an inline function?

0 Answers  


what is importance of data sturture in a programming language?

22 Answers   L&T, TCS, Wipro,


What are proxy objects in c++?

0 Answers  


Can I run c program in turbo c++?

0 Answers  


In c++, what is the difference between method overloading and method overriding?

0 Answers  


What are the advantages of c++?

0 Answers  


How do you show the declaration of a virtual constructor?

0 Answers  


Categories