hOW Can I add character in to pointer array of characters

char *a="indian";
ie I want to add google after indian in the char *a


Answer Posted / david

it is not possible because it declares a block of array in
the time of initialisation

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain enumerated types.

600


What will be your course of action for a push operation?

669


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

679


What is unsigned int in c?

560


What are structure types in C?

671






c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

736


What library is sizeof in c?

574


What does sizeof return c?

608


What functions are used in dynamic memory allocation in c?

597


What is && in c programming?

683


What is calloc()?

629


Distinguish between actual and formal arguments.

591


What does it mean when a pointer is used in an if statement?

602


How is a structure member accessed?

586


What is c language & why it is used?

583