Tech: Artificial Intelligence AI, Blockchain, Augmented Reality, Software, Programming, and more
Sunday, August 30, 2020
defining your own functions: abstraction
#include <cs50.h>
#include <stdio.h>
int main(void)
{
void cough(void)
{
printf("cough\n");
}
for (int i=0; i<3; i++)
{
cough();
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment