Can u return two values using return keyword? If yes, how?
If no, why?
Answer Posted / c.saranya
no. because return keyword return only one value.that ia 0
or 1.
| Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
.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; }
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
cavium networks written test pattern ..
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
Explain what are linked list?
Difference between pass by reference and pass by value?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
What is the difference between functions abs() and fabs()?
What are different types of operators?
What are loops c?
What is scope and lifetime of a variable in c?
Do you know what are bitwise shift operators in c programming?
What is the difference between ++a and a++?
how to find anagram without using string functions using only loops in c programming