printing semicolon(;) while using it only once in the program
2 posters
Page 1 of 1
printing semicolon(;) while using it only once in the program
nice problem for beginners...
heres my soln.
#include<stdio.h>
#include<conio.h>
#define SC 59 //ascii value of ;
void main()
{
printf("%c",SC);
}
post if you have any other solutions..
heres my soln.
#include<stdio.h>
#include<conio.h>
#define SC 59 //ascii value of ;
void main()
{
printf("%c",SC);
}
post if you have any other solutions..
aditya- Number of posts : 4
Age : 34
Location : Pune
Registration date : 2008-08-25
nice solution
If you like these kind of whacky questions, try the C/C++ competetions at PICT. Those guys can get pretty crazy.
Quicksilver- Number of posts : 36
Age : 36
Location : Pune, Maharashtra, India
Branch : Computer Engineering
Registration date : 2008-08-08
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|