Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Instant Grammar Checker - Correct all grammar errors and enhance your writing

What's The REAL Secret To First Date Success With a Woman? Click Here To Find Out

Teach Your Child To Read

Powerful WordPress hosting for WordPress professionals

Disclosure: My content contains affiliate links.

29,957 questions

39,172 answers

573 users

How to get array length in D

1 Answer

0 votes
import std.stdio;

void main() {

    auto arr = ["d", "dart", "c", "c++", "rust"];

    writeln(arr.length);
}



/*
run:

5

*/

 


Protect Your Privacy - Download VPN


answered Dec 9, 2022 by avibootz
...