What is void in C? tccicomputercoaching.com

Page 1

What is void in C? tccicomputercoaching.com The meaning for the word “void” is “nothing or completely empty”. This term plays a vital role in computer programming. The most familiar uses are:

1. Void as a Function Return Type 2. Void as a Function Parameter 3. Void as a Pointer Declaration Examples: 1. Void as a Function Return Type void maxval (int a,int b); void main() { int x=6,y=10; clrscr(); maxval(x,y); getch(); }


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.