char* f(){
char* result;//I have to return 'result' at the end of this function, where result should be containing i (i.e. int i=97) in it.
int i = 97;
//Do whatever you can
return result;
}
MRehanQadri 0 Junior Poster in Training
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
MRehanQadri 0 Junior Poster in Training
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
MRehanQadri 0 Junior Poster in Training
Moschops 683 Practically a Master Poster Featured Poster
MRehanQadri 0 Junior Poster in Training
Moschops 683 Practically a Master Poster Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Moschops 683 Practically a Master Poster Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.