KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am calling a function funcB from funcA . funcB uses several printf statements to output data. Is there a way for me to capture that data via funcA ? I can not modify funcB . funcB(){ printf( "%s", "My Name is" ); printf( "%s", "I like ice cream" ); } funcA(){ funcB(); }
Tags (comma-separated)
Save Edits
Cancel