Top

Discussion

What will be the output of the program ?

#include
#include

int main()
{
    static char s[] = "Hello!";
    printf("%d\n", *(s+strlen(s)));
    return 0;
}

 

  • A.8
  • B.16
  • C.Error

Answer:

No comment is present. Be the first to comment.
Loading…

Post your comment