Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Thursday at 2:23 PM
Ad icon
Wechat qr verification
Pawan2005
Updated:
Thursday at 1:28 AM
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Wednesday at 5:34 PM
Pure VPN - Up to 27 Months
vgp
Updated:
Jun 5, 2026
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Jun 2, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
c++ programming
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Jolly_Roger" data-source="post: 8974295" data-attributes="member: 197784"><p>When used as a function return type, the <span style="color: Red"><strong>void</strong> keyword specifies that the function does not return a value.</span> When used for a function's parameter list, void specifies that the function takes no parameters. When used in the declaration of a pointer, void specifies that the pointer is "universal."</p><p> If a pointer's type is <strong>void *</strong>, the pointer can point to any variable that is not declared with the <strong>const</strong> or <strong>volatile</strong> keyword. A void pointer cannot be dereferenced unless it is cast to another type. A void pointer can be converted into any other type of data pointer.</p><p> A void pointer can point to a function, but not to a class member in C++.</p><p> You cannot declare a variable of type void.</p><p></p><p></p><p><strong>When used as a function return type, the <span style="color: Red"><strong>int</strong></span></strong><span style="color: Red"><strong> keyword specifies that the function returns an integer value.</strong></span></p><p><span style="color: Red"><strong></strong></span></p><p><span style="color: Red"><strong></strong></span></p><p><span style="color: Red"><strong><span style="color: Black">මචන් Void කියන්නෙත් return type එකක්ම තමයි. ඒත් මුකුත් value එකක් return වෙන්නෙ නෑ <img src="/styles/default/xenforo/smilies/default/yes.gif" class="smilie" loading="lazy" alt=":yes:" title="Yes :yes:" data-shortname=":yes:" /></span></strong></span></p><p><span style="color: Red"><strong></strong></span></p></blockquote><p></p>
[QUOTE="Jolly_Roger, post: 8974295, member: 197784"] When used as a function return type, the [COLOR=Red][B]void[/B] keyword specifies that the function does not return a value.[/COLOR] When used for a function's parameter list, void specifies that the function takes no parameters. When used in the declaration of a pointer, void specifies that the pointer is "universal." If a pointer's type is [B]void *[/B], the pointer can point to any variable that is not declared with the [B]const[/B] or [B]volatile[/B] keyword. A void pointer cannot be dereferenced unless it is cast to another type. A void pointer can be converted into any other type of data pointer. A void pointer can point to a function, but not to a class member in C++. You cannot declare a variable of type void. [B]When used as a function return type, the [COLOR=Red][B]int[/B][/COLOR][/B][COLOR=Red][B] keyword specifies that the function returns an integer value. [COLOR=Black]මචන් Void කියන්නෙත් return type එකක්ම තමයි. ඒත් මුකුත් value එකක් return වෙන්නෙ නෑ :yes:[/COLOR] [/B][/COLOR] [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom