in Technology by (1.9m points)
What is use of keyword auto C Programming?

1 Answer

0 votes
by (1.9m points)

By default every local variable of the function is automatic (auto). In the below function both the variables ‘i’ and ‘j’ are automatic variables.

void f() {
   int i;
   auto int j;

Related questions

+1 vote
asked Nov 9, 2020 in Technology by JackTerrance (1.9m points)
0 votes
asked Dec 17, 2021 in Education by JackTerrance (1.9m points)