Exforsys

Online Training

How to get the Size

This is a discussion on How to get the Size within the C and C++ forums, part of the Programming Talk category; I am starting my try with memory allocation dynamically in C programming language. I have a doubt namely how to ...


Go Back   Exforsys > Programming Talk > C and C++

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-10-2007, 05:01 AM
Senior Member
 
Join Date: Apr 2006
Posts: 122
rachelle is on a distinguished road
Question How to get the Size

I am starting my try with memory allocation dynamically in C programming language. I have a doubt namely how to find at run-time the size of a dynamic memory allocation and this is an array. Kindly suggest some alternatives for achieving the size.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-10-2007, 07:38 AM
Junior Member
 
Join Date: May 2007
Posts: 12
Mukhtar Ahmad is on a distinguished road
memory allocation dynamically is done by
malloc() and calloc() functions in C language

provide any example how you want the memory allocation dynamically?

................
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Solaris x86 FAQ 1/2 Dan Anderson Tech FAQ 2 09-23-2008 04:15 AM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit Tech FAQ 0 06-01-2004 07:00 AM
Robot Competition FAQ for June 2004 R. Steven Rainwater Tech FAQ 0 05-27-2004 09:59 PM
Comp.Sys.Acorn.FAQ part 2 of 4 Paul Vigay Tech FAQ 0 04-30-2004 09:00 PM
Motif FAQ (Part 4 of 9) Ken Lee Tech FAQ 0 04-18-2004 09:54 AM


All times are GMT -4. The time now is 12:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.