.main()
{
char *p = "hello world!";
p[0] = 'H';
printf("%s",p);
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Explain the use of fflush() function?

0 Answers  


write a program to rearrange the array such way that all even elements should come first and next come odd

0 Answers  


What are register variables in c?

0 Answers  


main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }

4 Answers   Vector,


Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }

7 Answers   TCS,






What is typedef struct in c?

0 Answers  


Can a pointer point to null?

0 Answers  


int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?

6 Answers   TCS,


What was noalias and what ever happened to it?

0 Answers  


Explain the meaning of keyword 'extern' in a function declaration.

0 Answers  


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }

27 Answers   Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,


What are the types of functions in c?

0 Answers  


Categories