Ex-#include<iostream> using namespace std; int main(){ cout<<" hello world"<<endl; return 0; } ###:- in this simple c++ programm I don't know how memory it will take .so I want to know how can I find it .
8/15/2020 7:27:21 AM
AMIT KUMAR1 Answer
New AnswerYou can use valgrind: https://stackoverflow.com/questions/131303/how-to-measure-actual-memory-usage-of-an-application-or-process#131346
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message