How to print auto variable in C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to print auto variable in C

#include <stdio.h> int main() { auto x=2.3; auto y=22; printf ("%f",x); return 0; }

3rd Jun 2018, 5:58 PM
Mohamed
Mohamed - avatar
3 Answers
0
the outout of this code isn't 2.3
5th Jun 2018, 9:28 PM
Mohamed
Mohamed - avatar
0
the output
5th Jun 2018, 9:31 PM
Mohamed
Mohamed - avatar
0
Nice one 💪
20th Jun 2018, 10:38 PM
Antonio Parroni
Antonio Parroni - avatar