output for following code???
main()
{
int x=2,y,z;
x*=3+2;
printf("1.%d\n",x);
x*=y=z=4;
printf("2.%d %d %d\n",x,y,z);
x=y==z;
printf("3.%d\n",x);
x==(y=z);
printf("%d",x);
}
Answers were Sorted based on User's Feedback
f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 Answers Hughes, Tech Mahindra,
program to locate string with in a string with using strstr function
What is the difference between static and global variables?
What is %g in c?
What is the difference between null pointer and the void pointer?
Does c have function or method?
Can you please explain the difference between exit() and _exit() function?
Explain the priority queues?
Why void is used in c?
Why c is known as a mother language?
What is the meaning of typedef struct in c?
how to determine the complexity of an algorithm as log(n)