Home
About
Contact
Privacy Policy
Terms and Conditions
Disclaimer
Home
C Programs
_String
_Number
_Pattern
Oops Concept
Evergreen Programs
SOA
Ask Question
Ad Code
Responsive Advertisement
Categories
evergreen programs
(8)
Number
(2)
Oops Concept
(5)
Pattern
(2)
SOA
(4)
String
(9)
Most Popular
Removing Duplicate Characters using C program(Case Sensitive)
February 28, 2023
Features Of OOPs with REAL TIME EXAMPLES
February 19, 2023
Roman Numerals to Integer using C
February 24, 2023
Palindrome number using C program
March 11, 2023
WS-Addressing in SOA
March 08, 2023
Integer to Roman using C program
February 26, 2023
Home
evergreen programs
separating string in given number
separating string in given number
LeanerzWing
Separating string in given number
Using C program
C Program:
#include
#include
int main() { char a[100]; int i,l,n; printf("Enter the string:"); gets(a); printf("enter n:"); scanf("%d",&n); l=strlen(a); if(l%n==0) { printf("%c",a[0]); for(i=1;i
Output 1
:
Output 2
:
Output 3:
evergreen programs
Post a Comment
0 Comments
Social Plugin
Search This Blog
Popular Posts
Removing Duplicate Characters using C program(Case Sensitive)
February 28, 2023
Features Of OOPs with REAL TIME EXAMPLES
February 19, 2023
Roman Numerals to Integer using C
February 24, 2023
Close Menu
0 Comments