Puzzle 2

06/06/2008 15:32

 

 

Write a C program that will print 1 to N, one line each, on the screen (stdout) where N is an int variable. " Should not use while, for, do-while loops, goto statement, setjmp (), longjmp (), recursion, if, if-else, assert (), switch (), goto, continue statement and not use N prinf () statment"

For example

if N =5 then the output should be like

1

2

3

4

5

 

Puzzle 2 Answer

 

sahaya.webnode.comĀ© 2008 All rights reserved.

Make a website for freeWebnode