EmbLogic's Blog

Author Archives: karan

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

Assignment 1

Sir Assignment 1 now fully completed by me

Posted in Uncategorized | Leave a comment

maximum value

What data type should I use to hold the value 3.0e-23

Posted in Uncategorized | 1 Comment

Floating point

Can anyone tell me how floating point overflow works float f=43268.478912 printf(“%f\t”,f); The output comes to 43268.480469

Posted in Uncategorized | 1 Comment

I have problem with the code double d; int i; float f ; long l; i=l=f=d=100; printf(“%.8g\t”,(double)i); The output comes 33 instead of 33.33333 Why and what is the significance of %.8g

Posted in Uncategorized | 1 Comment