This question was given at some interviews. You have this code :
#include stdio.h
/*You have to put stdio.h between "<" and ">" , as I wasn't able to post that :)*/
int main()
{
int a=100,b=30;
printf("%d",a+b);
return 0;
}
Without modifying the main function, can you make the program print "I am no longer unemployed :) " ? Good Luck ! Answer coming in 2 or 3 days :) .
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment