.find the output of the following program?
char*myfunc(char*ptr)
{
ptr +=3;
return (ptr);
}
int main()
{
char*x,*y;
x="HELLO";
y=myfunc(x);
printf("y = %s
",y);
return 0;
}
No Answer is Posted For this Question
Be the First to Post Answer
What is bubble sort in c?
Explain high-order bytes.
Create a simple code fragment that will swap the values of two variables num1 and num2.
What are extern variables in c?
What is function pointer and where we will use it
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.
Write a program that takes a 5 digit number and calculates 2 power that number and prints it
5 Answers ABS, Accenture, HCL, Infosys, Infotech, SoftSolve, Software India, TCS, Vertex, Vimukti Technologies,
Explain what is the difference between far and near ?
parkside's triangle.. create a program like this.. enter the size: 6 enter the seed: 1 output: 1 23 456 7891 23456 789123 sample2: enter the size: 5 enter the seed: 3 output: 3 45 678 9123 45678 parkside should not exceed 10 while its seed should only be not more than 9..
How can I run c program?
How do I access command-line arguments?