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 21237main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
12 33606What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 19793Write a c program to print the even numbers followed by odd numbers in an array without using additional array
1 3748Post New Tech Mahindra C Interview Questions
What is the difference between ViewData, ViewBag and TempData?
Tell me what is search engine submission?
What are the ways to create RDDs in Apache Spark? Explain.
Where is the logic that controls this and how do we change it?
What is e4x in reference to xml?
What happen if I install my pressure transmitter below the elevation of pipe in natural gas service?
What are stubs?
Explain sap hybris customer service module?
What is enterprise mode? : bo designer
Explain the different modes of buck boost converter
What tablets are compatible with windows 10?
How to generate the graphs in test director?
What is the scope of user defined process variables ?
Where do you assign activity type in cost centers? : co- cost center accounting
Explain the working of timers in JavaScript? Also elucidate the drawbacks of using the timer, if any?