functions4

 // 4. without arguments and without return value

#include <stdio.h>

char func();
int main()
{
    int a;
    a=func();
    printf("%c",a);
    return 0;
}
char func()
{
    printf("hello world");
}

Comments

Popular posts from this blog

Tokens in C

Steps taken by a compiler to execute a C program

Variables and Data Types in C