I am able to compress a string by replacing ith elemnt that is space with I+1 element can anyone now help me with decompressing it
Arrays assignment almost complete with 2 to 3 problems remaining
#include<stdio.h> int main() { char a[]=”hello hellothethe hello the hello the hello”; char b[]=”the”; int c=0,i,j=0; for(j=0;a[j]!=”;j++) { /* if(a[j]==’\t’||a[j]==’\n’||a[j]==’ ‘) { printf(“space\n”); continue; } // else */ // { i=0; while(b[i]!=”) { if(b[i]!=a[j]) break; i++;j++; } if(b[i]==”) { c++; … Continue reading
please
char input[] = “SSSWILTECH1\1\11W\WALLMP1″; what will \1 and \W do here please explain!
Assignment 2 complete but late by one day will try to complete the third in time
Facing a problem while I am using gets or fgets in a certain program… first 3 characters are being treated as ”… Please explain this thing… thanx
Can anyone help in question 15 of assignment 2 i.e to calculate numbers in a particular integer
float f=55; printf(“value of f is %d\n”,f); printf(“value of f is %f\n”,f); printf(“value of f is %c\n”,f); what will this print–> with explaination please
How to calculate number of spaces or characters in a line
My maths is little weak so anyone please tell formula for arithmetic progression
sir, Assignment 2 completed.