The Gateway to Computer Science Excellence
0 votes
51 views
What is the output of given program?
main()
{
char g[] = "iamsahilraza";
printf("%s", g + g[8] - g[10]);
}
in Programming by (51 points) | 51 views
0
garbage string
0

yes it prints garbage value

1 Answer

0 votes
garbage value.
by
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,645 questions
56,580 answers
195,773 comments
101,777 users