C Puzzle - 02

 What is the output of the following C program?

#include <stdio.h>

void main()

{

int a=25,b=4;

printf("%d",(a%b));

}

OUTPUT:

1

% operator gives you the remainder of an integer division.


Comments

Popular posts from this blog

Python Tips -06

C Puzzle

Python Tips - 03