C++ different outputWhy do I get a different output in C++? [code] #include<iostream.h> #include<conio.h> #include<str...
How am I getting these outputs in C?main() {double=1/2.0-1/2; printf("d=%.21f",d); } Output:0.50000000000000 shouldn't it be 0? ...
Strlen() in CWould strlen() work for int array? <#include<stdio.h> void main() { int b[100]; int a=10; ...
C Structures Wrong OutputWhat is wrong with the program in C? [code] <#include<stdio.h> #include<conio.h> struct boat ...
Structure in CThanks for your reply. What a shame on me. I changed only the %s to %d in age and everything worked ...
This user does not accept Private Messages