PIC 16f877A in MickroC in C language

Discussion in 'Embedded Systems and Microcontrollers' started by Muhammad Muaaz Khan, May 18, 2016.

  1. Muhammad Muaaz Khan

    Thread Starter New Member

    Apr 26, 2016
    Can any one tell me that how to use return [expression] in PIC16f877A in mickroC through prgramming
  2. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    If by expression you want to return several symbols, well, you cannot do that.

    If you wish to return the evaluation of some expression then what you ask is your answer. Say you want to return a*100+b. Then it is just:

    return (a*100+b);