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 21301main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
12 33665What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 19859Write a c program to print the even numbers followed by odd numbers in an array without using additional array
1 3764Post New Tech Mahindra C Interview Questions
What is Time period of a building and its relation with frequency ?
Please explain what are the main differences between laravel 4 and laravel 5.x?
How do I upload a folder?
Describe the working of 3φ fully controlled bridge converter in the rectifying mode and inversion mode. And derive the expressions for average output voltage and rms output voltage?
How do I find duplicates in multiple columns in excel?
What is exceptional operation mode?
Explain what are the various file formats involved in reportnet?
How to keep the windows taskbar hidden?
What are the uses of typedef in a program?
Explain yarn twist?
Is there any possibility with Joomla to control a desktop application?
How jndi is related to jms?
Explain the interim storage types ?
How is static data member similar to a global variable?
what is cyclon seperator and water column?