A world of Programming- Gsbprogramming
By Er Gurpreet Singh, Senior Software Engineer, Sopra Steria India
Labels
ASP.NET
About
C#
C&Cpp
CSS
GK
JQuery
Java
Java EE
Notes
OS
Oracle apps
Others
PL/SQL
Programming Quiz
SQL
Friday, 27 March 2015
How to find length of an array in C or C++?
To find the length of an array in C or C++, you can use the following:
int
n=
sizeof
(a)/
sizeof
(a[0]);
Here, a is array
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment