Thursday 9 February 2012

Important concept covered in class

can be in a walkthrough:-

a**b   ---->  a*(*b)  ----->  a * (where b is pointing to)

Todays first Challenging Question ans

One line answer for validation function

int validMonth(int mon, char* errmes){
  return((mon>0 && mon <=12) || !strcpy(errmes, "Invalid month!"));
}