TCS Company undefined

main()
{
printf(“%d”);
}
1. 0
2. 1
3. Garbage value
4. Error

Read Solution (Total 5)

TCS Other Question

What is the output for following?
main()
{
printf(“%%%%”);
}

1. %%%%
2. %%
3. Error
4. Garbage Value
Guess the output:
main()
{
printf(“n ks”);
printf(“b mi a”);
printf(“r ha n”);
}
1. ksmiha
2. mis
3. hai ​
4. hamiks