Interviews2 answers
What is the output of following code : #include <stdio.h> int main(void) {char i[3] = {'a','l', 'i'} for(int j = 0;j < 3 j++){printf('%c',i[j])} printf('\n) for(int j = 0; j< 3; j++){printf('%c',j[i]);}return 0; }
2 Answers
Error
Gajendra JangidPosted Mar 15, 2018, 10:19 PM EDT
Output:
ali
ali
Ali AhmedPosted Jan 8, 2017, 9:04 AM EST


