| sibendudey (8) | |
|
what is the output? int i1[]={"\12345s\n"}; printf("i1=%d\n",sizeof(i1)); | |
|
|
|
| Peter87 (3908) | |
| 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? | |
|
|
|
| sibendudey (8) | |
|
iam trying to solve a question.. the question is find the output of the printf statement!!! | |
|
|
|
| iantac (39) | |||
if I correct the code of yours
the output if i1=4 since you can't do {"\12345s\n"} in a integer array
| |||
|
Last edited on
|
|||
| viliml (791) | |
| 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? | |
|
|
|