CFanatic

Go Back   CFanatic > Programming > C Programming

Join CFanatic Forum Now

return makes integer from pointer without a cast topic posted under C Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 08-28-2010, 03:11 AM
Junior Member
 
Join Date: Aug 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Tlhoks is on a distinguished road
| More
return makes integer from pointer without a cast

Please assist Iam getting this "13 C:\Dev-Cpp\main1.c [Warning] return makes integer from pointer without a cast " from the program below when i try to compile it.


Code:
int main()
{   
  /*getLarger();*/
  /*getRandom();*/
  printDetails();
  getch();         
  return /*getLarger,getRandom,*/printDetails;
}

int printDetails()
{
    int Name[];
    Name[] = Tlhompho
    
    printf("My Details are %s",Name);
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert string into integer nedo50 C Programming 1 09-05-2010 08:51 AM
Strange Integer Behavior yohosuff C++ Programming 0 08-28-2010 02:24 AM
String to integer meyup C Programming 7 05-30-2010 12:46 PM
Depending on the condition of different Cast creative MFC Programming 5 05-27-2010 09:28 PM
How to print bit-patterns of a given integer heavensgate15 C Programming 2 06-27-2008 01:24 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 02:08 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board