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

If errno contains a nonzero number, is there an error?

1063


what are non standard function in c

1670


Why c is a mother language?

750


What is array of structure in c?

818


What is the difference between array and pointer in c?

823


What is the purpose of sprintf?

831


Differentiate between declaring a variable and defining a variable?

838


What do you mean by keywords in c?

904


What is a static function in c?

871


Why static is used in c?

847


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

823


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

1008


Why #include is used in c language?

808


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

2203


What are runtime error?

877