php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is void used only with functions? If yes than why?
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
void is used with function as well as with pointers. There are two types of functions: one that return something and other that do not return anything. We use void with the functions that do not return anything.
If the type of pointer is not known, then we can use void pointer. Void pointer can point to any type of data.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how often do we require to use inline functions and macros. their importance in c++ Vuhelper 0 8,544 05-31-2012, 01:49 AM
Last Post: Vuhelper
  Multidimensional Array vs If-Statements and Functions? in c++ Vuhelper 0 923 07-20-2011, 10:45 PM
Last Post: Vuhelper
  What is difference among main() int main() void main() saneha 1 3,572 05-02-2011, 05:51 PM
Last Post: Vuhelper
  difference between member functions,non member functions and friend functions ? saneha 1 5,216 05-02-2011, 04:57 PM
Last Post: Vuhelper
  can we define same functions for the two or more different objects of different class saneha 1 3,367 05-02-2011, 06:48 AM
Last Post: Vuhelper
  what this function do ? void student ::setName (char *aName); saneha 1 2,209 05-02-2011, 06:35 AM
Last Post: Vuhelper
  What are constant members functions in c++ 2011 saneha 1 2,172 04-29-2011, 08:18 AM
Last Post: Vuhelper
  what is the purpose is isopen() in main menu,difining select, move, rotate functions saneha 1 2,818 04-29-2011, 08:02 AM
Last Post: Vuhelper
  Dear sir please clear the terms i++ and i-- what are their functions? sana.pari 1 2,141 04-24-2011, 05:13 PM
Last Post: Support

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support