| | |
printf with no args - behaviour
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2009
Posts: 70
Reputation:
Solved Threads: 3
0
#4 Nov 11th, 2009
•
•
•
•
Undefined. In practice it will probably print whatever is next in the stack and potentially corrupt the rest of your program by moving the stack pointer in an unexpected way.
so suppose if we rememeber the previous values of the stack can we expect the same values as out put.
( i believe we should not do this way , but any way the system it self is giving same results every time when i run the program)
![]() |
Similar Threads
- printf and three string arguments (Java)
- wrong # of args in function call printf (C)
- Get arguments in one string? (C++)
- Implementing scanf with getchar (C)
- vprintf to printf (C)
- Behaviour of Binary Search Program (C)
- what's with gcc? (C++)
Other Threads in the C Forum
- Previous Thread: help me
- Next Thread: urgent help needed in c
Views: 213 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for C
#include * .net append array arrays bash binarysearch changingto char character cm copyanyfile copypdffile createprocess() database directory drawing dynamic execv feet fgets file floatingpointvalidation fork function functions getlogicaldrivestrin givemetehcodez global grade graphics gtkwinlinux histogram homework i/o ide include infiniteloop initialization input interest intmain() iso keyboard kilometer lazy license linked linkedlist linux list looping loopinsideloop. lowest matrix meter microsoft mqqueue mysql oddnumber odf open openwebfoundation overwrite pause pdf pointer pointers posix power process program programming pyramidusingturboccodes read recursion recv recvblocked reversing segmentationfault single socket socketprogramming spoonfeeding standard strchr string student suggestions system test testing threads unix urboc user whythiscodecausesegmentationfault win32api windowsapi





