posted 12 years ago
Like if i have 'if' and i have to check whenever i have an 'if' i have to increment some value.
As far as i know, getc() function takes in the file pointer and gives an output.
The increment is automatic.
But that increment is basically performed after a loop is executed.
What if, i want to know the next character without advancing in a loop?
{Also the output output is a character but can be stored in an integer?