This is a discussion on printf(), scanf() functions within the C and C++ Programming forums, part of the Software Development category; Hui buddies can anybody let me know what are returned by printf(), scanf() functions,if they return anything means what ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi buddy, both the functions will return an int value printf() - no. of values successfully printed scanf() - no. of values successfully scaned example: printf("No of argument received: " %d",scanf("%d,%f",&i,&f)); o/p: No of argument received: 2
__________________ SeeSamJagan- Sky is not the "LIMIT", Death is not the END, There is still something beyond.... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/c-c-programming/3302-printf-scanf-functions.html | |||
| Posted By | For | Type | Date |
| Java: Blogs, Photos, Videos and more on Technorati | This thread | Refback | 08-14-2007 12:44 AM |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sql functions | itbarota | Database Support | 11 | 02-29-2008 02:08 AM |
| What are Virtual Functions? How to implement virtual functions in "C"? | Sabari | C and C++ Programming | 4 | 09-10-2007 11:35 PM |
| Difference between "printf" and "sprintf". | Sabari | C and C++ Programming | 1 | 07-23-2007 06:23 AM |
| What is the output of printf("%d") | Sabari | C and C++ Programming | 1 | 07-23-2007 05:59 AM |
| printf() and scanf() functions ! in C++ | Sabari | C and C++ Programming | 1 | 07-17-2007 04:13 AM |