Message from C, C++ talks

July 2019

— Should work

— Can someone help me to improve my project by helping me or put me on the track of a mail receiver system?

Message permanent page

— Nicolas B:

— I use Qt


And I found nothing serious about this question and how to use the IMAP and/or POP3 systems to receive mails...

— #include<studio.h>
int main(){
float a,b;
printf("a=%f b=%f",a,b);
return 0;

Hey. I need a help with above question. Here b's definition is containing a , a being defined after b. On compiling result getting printed is
a=2.3 b=6.5;
Can anyone tell me why is this output getting generated. According to me , error should be there

Message permanent page

— A is defined after b but it is decladed before

— So, it exists and it is valid to use it

— Just, do not rely on it being 0. Its value is undefined and in your case it is 0 but it is not guaranteed

Message permanent page

— There is no header studio.h it's stdio.h (standard I/O)

— You mean a can take any value in this case ??

— Also yes a can be anything if you don't initialize it

— Sorry. Ignore that typing mistake please .

— <source>:5:4: warning: 'a' is used uninitialized in this function [-Wuninitialized]

— This is the warning you get if you compile with the right flags