#include<stdio.h>
#include<conio.h>
#include<string.h>
void printlength(char a);
void printlength(char a)
{
int len = strlen(a);
printf("The Length of the String %s is %d ", a, len);
getch();
}
void main()
{
char a[25];
clrscr();
printf("Enter the name");
scanf("%s", &a);
printlength(a);
}
私はちょうどこれらのエラーで立ち往生し始めました。 私は、パラメータの再宣言にタイプCのプログラミングの不一致
ここで停止してください、Cはあなたがランダムに学ぶことのできる言語ではなく、Cの本を入手してください。 https://stackoverflow.com/questions/562303/the-definitive-c-book-guide-and-list – Stargateur
コンパイラから警告がありませんでしたか? –
いいえこれはエラーを示したばかりです。今問題に取り組んでいます –