Huawei Company Programming Technical

char[] c="india is great";

wap to get o/p
i i g
n s r
d e
i a
a t

Read Solution (Total 2)

Huawei Other Question

main()
{
int a=5;
if(a=0)
{
return;
}
printf("%d",a);
main()
}
There are 3 ants in the 3 positions of a corners of a triangle.Then what is the probability to intersect the ants when they move in the direction like that triangle.