The output will be Name, presuming you correct your quote characters. The line, while(*p2++ = *p1++); will check to see if the assignment...
Before you make a query...
Matt, I would not want to have you as a teacher, because you don't seem all that bright. Let me explain that. This posting is essentially a...
Analyze your problem, devise a solution, and write some code. Present the troublesome code here for help. Generally speaking, you'll want to...
We normally don't solve people's homework for them, Hardik. We help THEM solve it. It is how one learns. I'm making an exception in this case...
He does not want to tokenize the string, he want to replace occurences of one character with other. There's no point in doing it in an unwieldy...
Post your code and explain what's wrong. Read this thread carefully before posting so you know what and how to post.
There's a correlation between code size and execution time, but it is not a directly proportional thing.
It doesn't matter what you get; that's the point. The results are undefined. The compiler can do anything it likes. What it chooses to do is...
You can examine the emitted machine or assembly code.
You need to learn your material, learn to research, and write some code. We are here to help, not to provide free software or to earn your grades...
Statements such as this: int b=(a)+(++a)+(++a); result in undefined behavior. Read up on sequence points. Also, read the "Before you...
We'd be glad to help, however we don't do your work for you. Refer to your lessons, work out some come, and present it for help with any problems...
You are incorrect. You can tell us that something is happening outside the thread, bet we can't KNOW that something is happening because we...
Malloc will allocate 20 char of memory from the heap. Memset will set it to zeroes. "Name" will be copied there. Please note that you cannot...
The first one says that ptr is a pointer to a const char, but that the pointer can be modified. The second says that the ptr is const, but the...
It IS what's causing it. It's setting it up initially. You are doing NOTHING in the while loop to change the condition. It is possible that...
You want free help? Don't be rude. Read this.
This is a function definition: double unitprice(int diameter, double price) { const double PI = 3.14159; double radius, area;...
Separate names with a comma.