free c programming course
Friday, 29 May 2009
Function which is returning char data type in c programming.
char find_character(); void main(){ char character; character=find_character(); printf("Character : %c",character); getch(); } char find_character(){ char * string="cquestionbank",temp; string+=3; temp=*string; return temp; } Output: e
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment