G
girish.dinne
#include<stdio.h>
int main()
{
int x = 34;
printf("%d\n", x["123456"]);
printf("%d", x[""]);
}
The above program wont give you any error or warning but the output is
not predictable.
If you guys understand how it happens, kindly let me know.
what value will be assigned for the following statement.
int i="hai";
int main()
{
int x = 34;
printf("%d\n", x["123456"]);
printf("%d", x[""]);
}
The above program wont give you any error or warning but the output is
not predictable.
If you guys understand how it happens, kindly let me know.
what value will be assigned for the following statement.
int i="hai";