search
Log In
0 votes
59 views
What is the output of given program?
main()
{
char g[] = "iamsahilraza";
printf("%s", g + g[8] - g[10]);
}
in Programming 59 views
0
garbage string
0

yes it prints garbage value

1 Answer

0 votes
garbage value.

Related questions

0 votes
0 answers
1
52 views
Is it necessary to write #include at the begining of C program? If is not ? Why ?
asked Oct 4, 2018 in Programming Sahil Raza 52 views
1 vote
0 answers
2
306 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 core subjects. Is there time left to read standard books? Is there someone on this platform who has actually done this?
asked Apr 13, 2019 in Written Exam Kedar S 306 views
0 votes
0 answers
3
24 views
Can Layer 3 firewall block ports?
asked Apr 5, 2019 in Computer Networks Hirak 24 views
...