MESSAGE
DATE | 2016-03-06 |
FROM | Asia Suarez
|
SUBJECT | Re: [Hangout-NYLXS] Announcement: Workshop Organizational Meeting
|
From hangout-bounces-at-nylxs.com Sun Mar 6 23:21:22 2016 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 036851616DB; Sun, 6 Mar 2016 23:21:22 -0500 (EST) X-Original-To: hangout-at-nylxs.com Delivered-To: hangout-at-nylxs.com Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.161.178]) by mrbrklyn.com (Postfix) with ESMTP id 613351616C5 for ; Sun, 6 Mar 2016 23:21:18 -0500 (EST) Received: by mail-yw0-f178.google.com with SMTP id g127so85733496ywf.2 for ; Sun, 06 Mar 2016 20:21:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nyu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=VNQR1Ou6/eWZLDJDlTt3HzE7yhA8PksmO//TwW/UpQY=; b=OfYQaDOJ23c45e1U2wH8/rtq+AnOeW+4V7AmfI3NYacqDRocTWMjhocadd5TBZdAsn nXPzJ+5IKWw5Ni8+t5GkE+F1Rhn3rXtFztSHAPWOPi7/JC1H5uKdynfLVY8A+SZNp3ee KjOZ6Nh0Qn/b9M0xFMCp4s3KCOtgcdgqdQEwaHu5raX286xgIBrBxe/wVlwcZ6ijozGL RRSOa2xAvnyQqVEhMKBVtollRrzFru1JOMFcfxqnJopkMwMRVS/AAQ9CsnuaZmM786yd n0SVq/woS9Y21OrCyLGWWiKcflK+dITdqvoe8Y9BJEF/vWJbsVFqkxEIWkptZtd4La4D blhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=VNQR1Ou6/eWZLDJDlTt3HzE7yhA8PksmO//TwW/UpQY=; b=BTfAgFZI1epc9Ss+0lA+/dBrHlZ5dbY+3AB73wU04PONfkitnZ/adKa6haXCsyr/Ue U1F/dYAsW6Xf0rl9QWKJNI5MyB8E79KgpM2weUVPpK9INFa/+TzrWQH/Onom1twcuZTc u3ZJPn2AzXpt934EXgx0feM7ZT42WzeK4qtED556GSg2/X9nz8D+3SZ+LY68zA5tNAGp rbdCU6rvOJgSMujZsG/qXbvFECrtPpDxpAHohehT+wGh7BjyuckXINHdWIycHe0Ci2/1 8RaGICtLwAMgpIwVvaw9jieCrMvCMZynotU5AYJU+Y26Kcc77F6rA1zbLMm+Ro2LNvMt TNIQ== X-Gm-Message-State: AD7BkJIs9wCs3SnY/ItCOEBUby0rWFNDS9Oufft0JaL/k+jzejCvUY27dO2T5YXACC74m1Lu8hxUy+TM0g/msYie MIME-Version: 1.0 X-Received: by 10.129.33.67 with SMTP id h64mr11517832ywh.83.1457324477961; Sun, 06 Mar 2016 20:21:17 -0800 (PST) Received: by 10.37.68.86 with HTTP; Sun, 6 Mar 2016 20:21:17 -0800 (PST) In-Reply-To: <56DD00AE.7020300-at-panix.com> References: <56DB9C63.7050505-at-panix.com> <56DBB62D.20402-at-panix.com> <98FBA888-C722-49AC-9AF8-628717031817-at-nyu.edu> <56DBD333.5070700-at-mrbrklyn.com> <56DD00AE.7020300-at-panix.com> Date: Sun, 6 Mar 2016 23:21:17 -0500 Message-ID: From: Asia Suarez To: NYLXS Discussions List X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Subject: Re: [Hangout-NYLXS] Announcement: Workshop Organizational Meeting tomorrow 7:00PM X-BeenThere: hangout-at-nylxs.com X-Mailman-Version: 2.1.17 Precedence: list Reply-To: NYLXS Discussions List List-Id: NYLXS Discussions List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1196676782==" Errors-To: hangout-bounces-at-nylxs.com Sender: "hangout"
--===============1196676782== Content-Type: multipart/alternative; boundary=001a11425f16d4e813052d6dcbf4
--001a11425f16d4e813052d6dcbf4 Content-Type: text/plain; charset=UTF-8
so the value: -1076361972 that you see is a value that is stored in the next piece of contiguous memory following the specific memory wherever the matrix pointer points.
On Sun, Mar 6, 2016 at 11:16 PM, Ruben Safir wrote:
> #include > > int main(int argv, char * argc ) > { > int array[4]= {1,2,3,4}; > unsigned int i; > for(i=0; i<4; i++) > { > printf("%d\t", array[i]); > } > > printf("\n"); > int* matrix = array +1; > for(i=0; i<4; i++) > { > printf("%d\t", matrix[i]); > } > return 0; > } > > > ruben-at-www:~> gcc asia.c > ruben-at-www:~> ./a.out > 1 2 3 4 > 2 3 4 -1076361972 ruben-at-www:~> > > What happened here? > _______________________________________________ > hangout mailing list > hangout-at-nylxs.com > http://www.nylxs.com/ >
--001a11425f16d4e813052d6dcbf4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"
so the value:? -1076361972 ? that you see is a value that is stored in the next piece of contiguous memory following the specific memory wherever the matrix pointer points.?
On Sun, Mar 6, 2016 at 11:16 PM, Ruben Safir <[1]mrbrklyn-at-panix.com> wrote:
#include ? int main(int argv, char * argc ) { ? ? int array[4]= {1,2,3,4}; ? ? unsigned int i; ? for(i=0; i<4; i++) ? { ? printf("%d\t", array[i]); ? } ? printf("\n"); ? int* matrix = array +1; ? for(i=0; i<4; i++) ? { ? ? printf("%d\t", matrix[i]); ? } ? return 0; } ruben-at-www:~> gcc asia.c ruben-at-www:~> ./a.out 1? ? ? ? 2? ? ? ? 3? ? ? ? 4 2? ? ? ? 3? ? ? ? 4? ? ? ? -1076361972? ? ? ruben-at-www:~> What happened here?
_______________________________________________ hangout mailing list [2]hangout-at-nylxs.com [3]http://www.nylxs.com/
References
1. mailto:mrbrklyn-at-panix.com 2. mailto:hangout-at-nylxs.com 3. http://www.nylxs.com/
--001a11425f16d4e813052d6dcbf4--
--===============1196676782== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ hangout mailing list hangout-at-nylxs.com http://www.nylxs.com/ --===============1196676782==--
--===============1196676782== Content-Type: multipart/alternative; boundary=001a11425f16d4e813052d6dcbf4
--001a11425f16d4e813052d6dcbf4 Content-Type: text/plain; charset=UTF-8
so the value: -1076361972 that you see is a value that is stored in the next piece of contiguous memory following the specific memory wherever the matrix pointer points.
On Sun, Mar 6, 2016 at 11:16 PM, Ruben Safir wrote:
> #include > > int main(int argv, char * argc ) > { > int array[4]= {1,2,3,4}; > unsigned int i; > for(i=0; i<4; i++) > { > printf("%d\t", array[i]); > } > > printf("\n"); > int* matrix = array +1; > for(i=0; i<4; i++) > { > printf("%d\t", matrix[i]); > } > return 0; > } > > > ruben-at-www:~> gcc asia.c > ruben-at-www:~> ./a.out > 1 2 3 4 > 2 3 4 -1076361972 ruben-at-www:~> > > What happened here? > _______________________________________________ > hangout mailing list > hangout-at-nylxs.com > http://www.nylxs.com/ >
--001a11425f16d4e813052d6dcbf4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"
so the value:? -1076361972 ? that you see is a value that is stored in the next piece of contiguous memory following the specific memory wherever the matrix pointer points.?
On Sun, Mar 6, 2016 at 11:16 PM, Ruben Safir <[1]mrbrklyn-at-panix.com> wrote:
#include ? int main(int argv, char * argc ) { ? ? int array[4]= {1,2,3,4}; ? ? unsigned int i; ? for(i=0; i<4; i++) ? { ? printf("%d\t", array[i]); ? } ? printf("\n"); ? int* matrix = array +1; ? for(i=0; i<4; i++) ? { ? ? printf("%d\t", matrix[i]); ? } ? return 0; } ruben-at-www:~> gcc asia.c ruben-at-www:~> ./a.out 1? ? ? ? 2? ? ? ? 3? ? ? ? 4 2? ? ? ? 3? ? ? ? 4? ? ? ? -1076361972? ? ? ruben-at-www:~> What happened here?
_______________________________________________ hangout mailing list [2]hangout-at-nylxs.com [3]http://www.nylxs.com/
References
1. mailto:mrbrklyn-at-panix.com 2. mailto:hangout-at-nylxs.com 3. http://www.nylxs.com/
--001a11425f16d4e813052d6dcbf4--
--===============1196676782== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ hangout mailing list hangout-at-nylxs.com http://www.nylxs.com/ --===============1196676782==--
|
|