67 069
Assignments Done
99,3%
Successfully Done
In November 2018

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..??? :/
Expert's answer
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

Submit
Privacy policy Terms and Conditions