Answer to Question #19212 in C++ for aastha

Question #19212
#include <stdio.h> int main() { int x = 01234; printf(“%d”, x); return 0; } The output of above program is 668. Will you plz tell m why it is so..??? :/
1
Expert's answer
2012-11-27T08:21:03-0500
I entered code, and if x is equal to 1234 it givesbeck in print func 1234.
if x=01234, some mistake occures, and it gives back 668

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal