.main()
{
char *p = "hello world!";
p[0] = 'H';
printf("%s",p);
}
No Answer is Posted For this Question
Be the First to Post Answer
Explain the use of fflush() function?
write a program to rearrange the array such way that all even elements should come first and next come odd
What are register variables in c?
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); }
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){ .... }
What is typedef struct in c?
Can a pointer point to null?
int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?
What was noalias and what ever happened to it?
Explain the meaning of keyword 'extern' in a function declaration.
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?