answersLogoWhite

0

#include<stdio.h>

#include<conio.h>

void main()

{

char a[5][10];

int i;

clrscr();

for(i=0;i<5;i++)

{

printf("enter %d string",i+1);

scanf("%s",&a[i]);

}

for(i=0;i<5;i++)

{

printf("\n%s",a[i]);

}

getch();

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


How to perform string operations like concatenation compare etc without using built in functions?

performing string operation using pointers


Write a c program to copy two strings using pointers?

nahi malum


What will be the program to arrange numbers stored in array in ascending order using pointers?

sorry


Write a program in java to display a string message using Servlets?

i dont no string for servlate


How do you write c program to perform sum of elements of matrix using pointers with functions?

i cant write


How do you run graphics program in C?

pro c language to implement linear search using pointers


Write a program convert a string from uppercase to lower case and vice-versa without using string tolower and string toupper commands in TCL?

[ string toupper $str ] or [ string tolower $str ]


Write c program to print palindrome using string without using strrev strlen strcam?

sdfdg


How do you create a program using string?

You can use any text-editor, notepad is an example.


How do you write a C program to copy to strings using pointers?

mystrcpy (char* dest, char* src) { while ((*dest++ = *src++) != '\0); }


Piglatin string in c without using pointer?

Sure, you can write a function in C to convert a string to Pig Latin without using pointers by passing the string as a parameter and manipulating it directly within the function. You can split the string into words, check if a word starts with a vowel or consonant, and then apply the appropriate transformation following the rules of Pig Latin. Remember to allocate enough memory for the modified string to prevent buffer overflow.