Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Distiction between int a[] and int *a

  • Subject: [Frama-c-discuss] Distiction between int a[] and int *a
  • From: hollas at (Boris Hollas)
  • Date: Fri, 09 Jul 2010 18:27:45 +0200


in the reply to my bug report I
learned that Boron introduced a distinction between 

int a[]


int *a.

What is the difference between the two and when does which form have to
be used?

I noticed that the Sorted predicate from the Jessie tutorial

/*@ predicate Sorted{L}(int a[], integer l, integer h) =
  @   \forall integer i; l <= i < h ==> a[i] <= a[i+1] ;

causes Jessie to crash.