char* ptr = "Rahul";
*ptr++;
printf("%s",ptr);
What will be the output
Answer Posted / praveen
ahul
| Is This Answer Correct ? | 26 Yes | 4 No |
Post New Answer View All Answers
What is object and class in oops?
what's the basic's in dot net
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Which language is pure oop?
what are the ways in which a constructors can be called?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is the difference between static polymorphism and dynamic polymorphism?
Can destructor be overloaded?
What is data binding in oops?
What are two types of polymorphism?
Advantage and disadvantage of routing in telecom sector
When not to use object oriented programming?
Can you inherit a private class?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?