Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Nov 7, 2026
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Nov 4, 2026
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Nov 2, 2026
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
C help
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="dissan" data-source="post: 5013296" data-attributes="member: 59372"><p>machan..i complied this ... and the error is it prints an extra '32' with the required result....this is because u initialise the array with ' ' .the ascii value of ' ' is also 32. </p><p>jus change ur code to after the the end of the "while (num>=1) " loop to:\</p><p></p><p></p><p>x=0;</p><p>while(binary[x]!=' ') /* koi welawaka hari mul while eka return wenakota array eka koi tharam fill welada balanna*/</p><p> {</p><p> </p><p> x++;</p><p> }</p><p>for(j=x-1;j>=0;j--) /* array eka reverce order ekata print karanna*/</p><p> printf("%d ",binary[j]);</p><p></p><p>j is a newly declared integer...</p><p></p><p>hope this helps</p></blockquote><p></p>
[QUOTE="dissan, post: 5013296, member: 59372"] machan..i complied this ... and the error is it prints an extra '32' with the required result....this is because u initialise the array with ' ' .the ascii value of ' ' is also 32. jus change ur code to after the the end of the "while (num>=1) " loop to:\ x=0; while(binary[x]!=' ') /* koi welawaka hari mul while eka return wenakota array eka koi tharam fill welada balanna*/ { x++; } for(j=x-1;j>=0;j--) /* array eka reverce order ekata print karanna*/ printf("%d ",binary[j]); j is a newly declared integer... hope this helps [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom