comma expression : Statement « Language Basics « C / ANSI-C






comma expression


#include <stdio.h>

int main(void)
{
  char ch;

  ch = getchar(), /* notice the comma here */
  putchar(ch+1);

  return 0;
}


           
       








Related examples in the same category