#include <stdio.h>
// Void function definition
void hello() {
}
// Return-type function definition
int square(int x) {
return x * x;
}
int main() {
int x;
// Calling the void function
hello();
// Calling the return-type function
int result = square(25);
printf("Square of %d is: %d",x
, result
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgovLyBWb2lkIGZ1bmN0aW9uIGRlZmluaXRpb24Kdm9pZCBoZWxsbygpIHsKICAgIHByaW50ZigiR2Vla3Nmb3JHZWVrc1xuIik7Cn0KCi8vIFJldHVybi10eXBlIGZ1bmN0aW9uIGRlZmluaXRpb24KaW50IHNxdWFyZShpbnQgeCkgewogICAgcmV0dXJuIHggKiB4Owp9CgppbnQgbWFpbigpIHsKICAgIGludCB4OwoKICAgIC8vIENhbGxpbmcgdGhlIHZvaWQgZnVuY3Rpb24KICAgIGhlbGxvKCk7CgogICAgLy8gQ2FsbGluZyB0aGUgcmV0dXJuLXR5cGUgZnVuY3Rpb24KICAgIGludCByZXN1bHQgPSBzcXVhcmUoMjUpOwogICAgcHJpbnRmKCJTcXVhcmUgb2YgJWQgaXM6ICVkIix4LCByZXN1bHQpOwoKICAgIHJldHVybiAwOwp9