write a program to print the consecutive repeated character
from the given string...
input string is : hhhhjkutskkkkkggggj
output should be like this: hhhhkkkkkgggg

anyone help me...


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Given a piece of code int x[10]; int *ab; ab=x; To access the 6th element of the array which of the following is incorrect? (A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .

2 Answers   Oracle,


How can I invoke another program from within a C program?

8 Answers  


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

0 Answers  


When can you use a pointer with a function?

0 Answers  


Difference between for loop and while loop?

1 Answers  


code for replace tabs with equivalent number of blanks

0 Answers   Bosch,


how to swap 4 number without using temporary number?

2 Answers  


What is the purpose of ftell?

0 Answers  


mplementation of stack using any programing language

1 Answers   Marlabs,


write a c program to remove all the duplicate characters in a string and replace with single character? ex:-input- AAABBBCCC output- ABC

2 Answers   HCL,


There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.

1 Answers   HCL, iGate,


What is d'n in c?

0 Answers  


Categories