EmbLogic's Blog

Category Archives: Data Structures with C

Compressing and decompressing

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

Posted in Data Structures with C | Leave a comment

Arrays assignment

Arrays assignment almost complete with 2 to 3 problems remaining

Posted in Data Structures with C | Leave a comment

program not comparing with null…

#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 →

Posted in Data Structures with C | 1 Comment

float representation in memory and how can i get it byte by byte seperatly????

please

Posted in Data Structures with C | Leave a comment

Shell script

Shell script assignment now completed

Posted in Data Structures with C | Leave a comment

problem in assingment 2

char input[] = “SSSWILTECH1\1\11W\WALLMP1″; what will \1 and \W do here please explain!

Posted in Data Structures with C | 1 Comment

Assignment

Assignment 2  complete but late by one day will try to complete the third in time

Posted in Data Structures with C | Leave a comment

Problem using gets??

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  

Posted in Data Structures with C | Leave a comment

Problem 15

Can anyone help in question 15 of assignment 2 i.e to calculate numbers in a particular integer

Posted in Data Structures with C | 1 Comment

data type conversion

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

Posted in Data Structures with C | 1 Comment

To get output in form 1 1   2 1   2  3 1  2   3  4

Posted in Data Structures with C | Leave a comment

Charachters

How to calculate number of spaces or characters in a line

Posted in Data Structures with C | 1 Comment

Arthmetic progression

My maths is little weak so anyone please tell formula for arithmetic progression

Posted in Data Structures with C | 1 Comment

Putchar

Can anybody tell me purpose of putchar()

Posted in Data Structures with C | 1 Comment

updates to Siddharth Sir

sir, Assignment 2 completed.

Posted in Data Structures with C | Leave a comment