What will be the output of the program?

char* funcname( char *pointer)
{
 pointer+=3;
return(pointer);
}
void main()
{
char *pt1 *pt2;
pt1="TEXTBOOK”;
pt2=funcname(pt1);
printf(“pt2=%s”, pt2);
}

1
pt2= textbook
2
pt2= tbook
3
pt2= book
4
pt2= ook

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation