MESSAGE
DATE | 2015-01-23 |
FROM | Maneesh Kongara
|
SUBJECT | Re: [LIU Comp Sci] Algorithms Assignment 1 attempt
|
From owner-learn-outgoing-at-mrbrklyn.com Fri Jan 23 06:43:59 2015 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix) id 42021161170; Fri, 23 Jan 2015 06:43:59 -0500 (EST) Delivered-To: learn-outgoing-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 28) id 328A6161184; Fri, 23 Jan 2015 06:43:59 -0500 (EST) Delivered-To: learn-at-mrbrklyn.com Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) by mrbrklyn.com (Postfix) with ESMTP id 95276161170 for ; Fri, 23 Jan 2015 06:43:58 -0500 (EST) Received: by mail-qc0-f174.google.com with SMTP id s11so5821817qcv.5 for ; Fri, 23 Jan 2015 03:43:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Q0CnmzZ8GGw2YA/Sfrm2WUDKPg/Otsvw4E9VVvKngnY=; b=b3tenZRQ8hdctP30w67QIritNQONBnXAOxt7uvXQxmxTe0bJ3l8f1gROaCHRFCtvdf opi0NHISz4e0umHIK1gkEihsVhbeH8znoLC/TH1I4DC2igtM/H7hgsuaE4E9sspPHXet LcLQuPC4CQUy5dR/axxau3Ij+M99P7nCyCgK0QSbNSlDQtpTl3gCQaogpdGSAsvo48P+ 01lqjA4bCrFEh5zNaooCj+QSK9a0WG0WdaSu8EUQPW66tY16GKAULyGb5I1vExsqV2BD cvNCHDzSaGHErmrK3/sFSaOXhsWzpNMFydAl/EJ0KNMEGRbS9z+h8iqmidKt4t18Y5ML HabQ== MIME-Version: 1.0 X-Received: by 10.140.25.245 with SMTP id 108mr12121985qgt.57.1422013438172; Fri, 23 Jan 2015 03:43:58 -0800 (PST) Received: by 10.229.157.204 with HTTP; Fri, 23 Jan 2015 03:43:58 -0800 (PST) Received: by 10.229.157.204 with HTTP; Fri, 23 Jan 2015 03:43:58 -0800 (PST) In-Reply-To: <54C23340.3080500-at-panix.com> References: <54C19620.5070706-at-panix.com> <54C22F4B.1030808-at-panix.com> <54C23340.3080500-at-panix.com> Date: Fri, 23 Jan 2015 06:43:58 -0500 Message-ID: Subject: Re: [LIU Comp Sci] Algorithms Assignment 1 attempt From: Maneesh Kongara To: learn-at-mrbrklyn.com Content-Type: multipart/alternative; boundary=001a11c13f1cd922d8050d504d17 Sender: owner-learn-at-mrbrklyn.com Precedence: bulk Reply-To: learn-at-mrbrklyn.com
--001a11c13f1cd922d8050d504d17 Content-Type: text/plain; charset=UTF-8
Damn right! Thank you so much for that. :) To my understanding, a is a variable and *a is a pointer pointing to some address location. No clue about **a. On Jan 23, 2015 6:41 AM, "Ruben Safir" wrote:
> On 01/23/2015 06:26 AM, Maneesh Kongara wrote: > > Arrays accept only sequential insertion rite? I don't know if you could > > insert data at random in arrays. Please correct me if I'm wrong. > > ;) > > wrong in c at least > > that is a fundemental > > int a[10] = {0}; > int b; > a[3] = 5; > > > b = a[3]; > > No problem > > > The question I always forget is this: What is a and what is *a and what > is **a > > >
--001a11c13f1cd922d8050d504d17 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Damn right! Thank you so much for that. :)
To my understanding, a is a variable and *a is a pointer pointing to some a= ddress location. No clue about **a.
On Jan 23, 2015 6:41 AM, "Ruben Safir"= < mrbrklyn-at-panix.com> wrote= : :0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 01/23/2015 06:2= 6 AM, Maneesh Kongara wrote:
> Arrays accept only sequential insertion rite? I don't know if you = could
> insert data at random in arrays. Please correct me if I'm wrong.r>
;)
wrong in c at least
that is a fundemental
int a[10] =3D {0};
int b;
a[3] =3D 5;
b =3D a[3];
No problem
The question I always forget is this:=C2=A0 What is a and what is *a and wh= at
is **a
--001a11c13f1cd922d8050d504d17--
|
|