string storing in integer array!

what is the output?

int i1[]={"\12345s\n"};

The output is a compiler error. It doesn't make sense to store a string in an array of ints. What are you trying to accomplish?
iam trying to solve a question..
the question is find the output of the printf statement!!!
if I correct the code of yours
int i1[]={12345};

the output if i1=4

since you can't do {"\12345s\n"} in a integer array
Last edited on
Silly question: did you ever try to compile it to find the answer? Yes, l know its stupid and compleaty ridiculous, but did it ever occur to you?
Topic archived. No new replies allowed.