スポンサード リンク
Microsoft Visual C++にて以下のソースでコンパイルエラーが発生します:
コンパイルエラーメッセージ:
warning C4309: '引数': 定数値が切り捨てられました。
ソース(バグ有り):
//check odd or even
#include <stdio.h>
#include <stdlib.h>
int hantei (char x);
int main(void)
{ |
ソース(修正済み):
//check odd or even
#include <stdio.h>
#include <stdlib.h>
int hantei (int x);
int main(void)
{ |
スポンサード リンク