230 views
0 votes
0 votes
What is the output of given program?
main()
{
char g[] = "iamsahilraza";
printf("%s", g + g[8] - g[10]);
}

1 Answer

0 votes
0 votes
garbage value.

Related questions

234
views
0 answers
0 votes
Sahil Raza asked Oct 4, 2018
234 views
Is it necessary to write #include at the begining of C program? If is not ? Why ?
1.2k
views
1 answers
0 votes
Deucalion_sash asked May 25, 2022
1,221 views
I am a past student of Made Easy and got AIR 7500 in GATE 2022.I would like to get suggestions.
985
views
0 answers
1 votes
Kedar S asked Apr 13, 2019
985 views
How do I begin my GATE preparation to get in top 50 in GATE 2020 now? I'm a Mechanical Engineering student at an NIT, know basic coding but not the ... to read standard books? Is there someone on this platform who has actually done this?
172
views
0 answers
0 votes
Hirak asked Apr 5, 2019
172 views
Can Layer 3 firewall block ports?