• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

Why function call typecasted to void ?

( void ) ReportError ( /* some arguments */)



void ReportError ( /* some arguments */ )
{
    /* error is reported */
}
0
naseeam
Asked:
naseeam
1 Solution
 
jkrCommented:
It's a matter of style, there is no need to do that. The programmer hereby documents that he's not using a return value beause the function has none.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now