Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (anonymous):

What is the output of the following? : $ft= printf("My Major is : %15s\n and my GPA is: %5.2f\t\t\n\n","Ellie", 2.56); print "$ft";

OpenStudy (llib_xoc):

I'm guessing. The C printf returns the number of characters that it put out. Your example looks like PERL. Why not fire up the PERL interpreter, type the statement into it, and see what you get?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!