C
Programming and Technical
Programming
Output
Input : ABCD
Output :
ABC D
AB CD
A BCD
AB C D
A BC D
A B CD
A B C D
Read Solution (Total 4)
-
- What is the question
- 10 years agoHelpfull: Yes(0) No(1)
- It is a C programming question which is based on strings.
If the Input is ABCD, then the output should be like above. - 10 years agoHelpfull: Yes(0) No(1)
- wats da answer
- 10 years agoHelpfull: Yes(0) No(0)
- #include
#include
#include
int main()
{
char a[10];
int i=0,j=0,k=0,t=0,p=0,l=0;
printf("Enter the string : ");
gets(a);
l = strlen(a);
p = pow(2,l-1);
for(i=0;i - 9 years agoHelpfull: Yes(0) No(0)
C Other Question