Given a string write a program to print all alphabetical characters in the order of their occurance first,followed by the sum of the numeric characters then followed by the special characters in the order of their occurance.



Given a string write a program to print all alphabetical characters in the order of their occurance..

Answer / rprabhakaranmca

INPUT: C212tr1is@y!is
OUTPUT:citrisus5@!

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Interview Questions

write a program to check whether a number is Peterson or not.

3 Answers  


What is void c?

0 Answers  


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

0 Answers   HP,


Difference between null pointer and dangling pointer?

7 Answers   GE, Wipro,


long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

18 Answers   Acropolis, HCL, Intel, TCS,






main() { int i; printf("%d",((i=1)*i-- - --i*(i=-3)*i++ + ++i)); } ans is 24 bt how?pls tell smbody............

3 Answers  


What do you mean by dynamic memory allocation in c? What functions are used?

0 Answers  


How can I do peek and poke in c?

0 Answers  


how to add numbers without using arithmetic operators.

14 Answers   TCS,


What does typeof return in c?

0 Answers  


What is queue in c?

0 Answers  


#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }

1 Answers  


Categories