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




hOW Can I add character in to pointer array of characters char *a="indian"; ie I want ..

Answer / 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

More C Interview Questions

Is flag a keyword in c?

0 Answers  


Write a program to generate the first n terms in the series --- 9,11,20,31,...,82

1 Answers   Cognizant,


What is the use of sizeof?

0 Answers  


main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }

3 Answers  


what is the use of pointers

6 Answers   Adobe, GrapeCity,






How do you determine a file’s attributes?

0 Answers  


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

0 Answers   Infosys,


Write a function to find the area of a triangle whose length of three sides is given

2 Answers  


How do you declare a variable that will hold string values?

0 Answers  


Are there namespaces in c?

0 Answers  


When would you use a pointer to a function?

0 Answers  


How can I dynamically allocate arrays?

0 Answers  


Categories