employer cover photo
employer logo
employer logo

Mindfire Solutions

Is this your company?

Mindfire Solutions Interview Question

program for string input where the multiple char are not displayed ex - mindfire output - mndfre

Interview Answers

Anonymous

Oct 20, 2017

// program for string input where the multiple char are not displayed ex - mindfire, output - mndfre #include void main() { char str[30]; int i, j, size = 0; printf("\nEnter a string: "); gets(str); for(i=0; str[i]!='\0'; i++) size++; for(i=0; i

9

Anonymous

May 3, 2018

#include int main() { char arr[20], i, j; printf("\nEnter a string: "); scanf(&arr[20]); for(i=0; arr[i]

3