Program to trim a given character from a string.
Answer Posted / dj
in above solution while loop iterates for only 6 times
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which is best linux os?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is a stream water?
What does d mean?
Is stack a keyword in c?
Can you mix old-style and new-style function syntax?
What is malloc return c?
How are Structure passing and returning implemented by the complier?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
Explain the difference between call by value and call by reference in c language?
What is variable declaration and definition in c?
Can 'this' pointer by used in the constructor?
What do you mean by a local block?
What is the purpose of void pointer?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }