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 21178main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
12 33540What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 19741Write a c program to print the even numbers followed by odd numbers in an array without using additional array
1 3731Post New Tech Mahindra C Interview Questions
Mention the difference between Apache Ant and Maven?
Fire Engine should be stopped in auto mode or not. If stopped then why and if not then why not?
Explain what an application server does and it's major components.
Why control valves are hunting on manual mode?
Explain vegetal pole?
Can a function be overloaded based on return types?
What five words would be describe you? : insurance sales
Explain what is alias file in tibco?
wha is Adsorption column chromatography?
Write a hello world program using servlets.
What is the difference between monetary policy and fiscal policy?
What is the role of SEBI?
In order to get assembly info which namespace we should import?
what is difference between is and as operators in c#?
How do you handle it when people are sceptical of the value of usability research?