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

What is a volatile keyword in c?

0 Answers  


What is getch () for?

0 Answers  


why we shiuld use main keyword in C

5 Answers  


Output for following program using for loop only * * * * * * * * * * * * * * *

3 Answers  


When do we get logical errors?

0 Answers  


Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.

4 Answers  


What does extern mean in a function declaration?

4 Answers  


write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR

5 Answers  


how can we use static and extern?and where can we use this?

3 Answers   Excel,


say the following declaration is correct nr not. int b=a,n=0;

4 Answers   Wipro,


how to set Nth bit of variable by using MACRO

3 Answers   HCL,


Differentiate between calloc and malloc.

0 Answers   Wipro,


Categories