.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
how could explain about job profile
Where are local variables stored in c?
prototype of sine function.
What is actual argument?
How can I implement a delay, or time a users response, with sub-second resolution?
Explain what a Binary Search Tree is.
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
How to add two numbers without using arithmetic operators?
18 Answers College School Exams Tests, e track, Infosys, Pan Parag, Sapient, TCS,
write a program for 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4
What are the different types of constants?
what is the difference between embedded c and turbo c ?
How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.