Sukesh Shukla
asked on
Problem in finding output of a program
What will be the output of this program, please explain
#include<stdio.h>
#include<string.h>
int main()
{
static char s[] = "Hello!";
printf("%d\n", *(s+strlen(s)));
return 0;
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If my questions, tips, and suggestions, to guide the author, and associated learning links, helped the author to say "doubt cleared", then don't you think my post should be accepted. BTW, in the future, you are free to ask follow up questions if you have more specific issues. That may help speed up your learning process.
ASKER
I've requested that this question be deleted for the following reason:
complete
complete
ASKER
Doubt cleared