How we sympathize with a question on StackOverflow but keep silent

int f1(){
int a=5;
short b=4;
bool a1=a;//maybe warn
bool b1=b;//maybe warn
if(a1&&b1)return 1;
return 0;
}
class M{
public:
virtual int GetAge(){return 0;}
};
class P:public M{
public:
virtual int GetAge(){return 1;}
P(){GetAge();}//maybe warn
~P(){GetAge();}//maybe warn
};

int main(){
return 0;
}

--

--

--

Co-founder of the PVS-Studio project. Microsoft MVP in the ‘Developer Technologies’ nomination and PhD in Physics and Mathematics.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Parallelization efforts using VTune

How to Choose Technology Stack for Web App Development

React Native vs Flutter

IBPS SO Mains 2021 Final Cut Off Marks Category Wise & Post Wise Marks

IBPS SO Mains 2021 Final Cut-Off Marks : Category-Wise & Post-Wise

Beginners Guide to Normalization

Celebrating 10,000+ stars on GitHub together! ⭐ ❤️️

Obtain Aluminum Prices From Chicago Board Of Trade With An API

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andrey Karpov

Andrey Karpov

Co-founder of the PVS-Studio project. Microsoft MVP in the ‘Developer Technologies’ nomination and PhD in Physics and Mathematics.

More from Medium

What I Learned Contributing to Open-Source

SOAP vs REST API: 5 Differences You Need To Know

Why and how to contribute to open source projects

How API Is Revolutionizing Finance Industry?

api integration