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 13202main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
12 24791What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 14773Write a c program to print the even numbers followed by odd numbers in an array without using additional array
1 2512Post New Tech Mahindra C Interview Questions
What do you know about BSNL?
what is repositery?
What are different shapes for image in bootstrap?
How do I know if my ssd is broken?
which is the latest version of dos? & what is the command to copy windows files (i386) without formatting OS?
What is the complexity of arrays sort?
Should I have perfect credit score, that is, above 800 credit score?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
What is row rdd in spark?
What type of locking occurs during the snapshot generation? : sql server replication
What can I safely assume about the initial values of variables which are not explicitly initialized?
Give a situation where Mathematics can be correlated with economics
What is property file in java?
What is direct and in-direct posting? : cost center accounting
LOWER or LCASE function in Hive with example?