Is there is any function through which i can get specific number of integer like we do through getchar() funtion .I AM USING TURBO C 3.0.HELP WILL BE APPRECIATED.
Majestics
84
Posting Pro
Recommended Answers
Jump to PostHow about you describe what you're trying to do? What you're asking for is somewhat nonsensical out of context.
Jump to Posttry this
int num = getchar();
Jump to Postchar myCharacter = 'A';
printf("%c = %d",myCharacter,myCharacter);
All 10 Replies
Narue
5,707
Bad Cop
Team Colleague
joshmo
8
Posting Whiz in Training
jephthah
1,888
Posting Maven
jephthah
1,888
Posting Maven
Prabakar
77
Posting Whiz
Majestics
84
Posting Pro
Majestics
84
Posting Pro
Prabakar
77
Posting Whiz
Narue
5,707
Bad Cop
Team Colleague
sacdpathade
0
Newbie 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.