This is compiler dependent..and not a portable way of writing code
On Sat, Apr 30, 2011 at 12:11 PM, Ashish Modi wrote:
> For such type of questions, the best method is to draw a parse
> tree according to precedence and evaluate the tree. This is how it is
> evaluated at compiler le
Please refrain from sharing such links and engaging in piracy.
I kindly request the admin of this forum to delete all such posts and to
warn the users on the forum for possible barring in case they are found to
use this forum for piracy and malpractices.
On Sat, Apr 30, 2011 at 12:09 PM, Charles
pptr = (char **) malloc (sizeof(char *) * ROW_MAX);
ptr = (char *) malloc(sizeof(char) * row * col);
for (index = 0; index < ROW_MAX; index++) {
pptr[index] = ptr+index;
ptr = ptr + ROW_MAX;
}
How about doing like above ?, you want only with one malloc ?
Thanks,
Sathaiah
O
I have "n" boxes each with "m" candys, I want distributed these candys
among "k" students
what is the best way for distribute them such that
1. All students get equal number of candies.
2. All the candies which a student get must be from a single box only.
--
You received this message because
The above code is purely compiler dependent.Google Sequence Points.
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsu
Well, It depends on the compiler you are using.
This code with multiple increments and decrements in one expression,
is *invalid* code per ISO 14882:2003 paragraph 5.4, As with any
invalid code, the compilers can do print any value, if they choose to
let this compile.
It's also invalid C per ISO 9
On 01/05/2011 19:42, Arun Bala G wrote:
Guys,
Check this out
Top of Form
Bottom of Form
*Bubble-sort with Hungarian ("Csángó") folk dance *
http://youtu.be/lyZQPjUT5B4
That made my day! Thank you for sharing :D.
Charles
--
You received this message because you are subscribed to the Go
Guys,
Check this out
Top of Form
Bottom of Form
Bubble-sort with Hungarian ("Csángó") folk dance
http://youtu.be/lyZQPjUT5B4
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegrou
x=5
y=10
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this grou
@harshit this not correct way . you will get segmentation fault while
accessing the element ..
you can see in book pointer in c
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
T
type on terminal " sudo apt-get install gcc"
you will get latest gcc automatically
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
Online Jobs for students
Online Typing Work from Home No Age Limit | Easy Application
http://bit.ly/AsianEdu
2 years Masters Program Gulf Medical University UAE
http://bit.ly/AsianEdu
Over 5,000 jobs available in Australia. Visa assistance available.
http://bit.ly/AsianEdu
Hi,
Based on most comments, The popular puzzle of the last week is
*
http://dailybrainteaser.blogspot.com/2011/04/humor-quiz-25april.html?lavesh=lavesh
*
*Please subscribe and follow this blog to show your liking to the blog.*
--
"Never explain yourself. Your friends don’
13 matches
Mail list logo