hey, i have a problem trying to figure out what i'm doing wrong with memcpy,
i get the following to errrors when i try to run this code.
a4.c:222: error: incompatible type for argument 1 of...
Type: Posts; User: newby01
hey, i have a problem trying to figure out what i'm doing wrong with memcpy,
i get the following to errrors when i try to run this code.
a4.c:222: error: incompatible type for argument 1 of...
When i run this programme i get the following output:
0.6667
0.666667
How come the second printf statement does not use the "val" value?
insert
main(){
i'm just starting to learn C and i have a problem with displaying fractions.
My code:
insert
#include<stdio.h>
main()
{
float num = 2/3;